[Cmake] Possible bug
Jahn Otto Næsgaard Andersen
Jahn.O.Andersen at unimed.sintef.no
Mon Sep 23 10:48:06 EDT 2002
I have discovered something that may be a bug (or just me
misunderstanding something).
I my CMakeLists.txt, I have
QT_WRAP_UI(
ProjectName
QTUI_HEADERFILES
QTUI_SOURCEFILES
gui/appwindow.ui
)
When using Visual C++ .NET, the two necessary custom build commands in
projectname.vcproj.cmake are added as expected, but without the
necessary newline in between them:
c:\qt\bin\uic.exe [blablablabla] c:\qt\bin\uic.exe [blablablabla]
As far as I know, a newline is required between separate custom build
commands:
c:\qt\bin\uic.exe [blablablabla]
c:\qt\bin\uic.exe [blablablabla]
This causes the build to fail.
Jahn Otto
More information about the CMake
mailing list