[CMake] Location of ui and moc generated files (qt)
Alexander Neundorf
a.neundorf-work at gmx.net
Tue Aug 14 11:49:10 EDT 2007
On Tuesday 14 August 2007 11:31, Maik Keller wrote:
> Thanks Torsten. I just tested it, and it seems to work with
> CMAKE_CURRENT_SOURCE_DIR. Would it be possible to provide me with your
> implementation of the AIS_MOC macro as well?
If you are working on a bigger project with more developers, you shouldn't
generate the files in the source directory. You or other developers will
sooner or later use out-of-source builds, which will break due to the
generated files in the source tree.
There is no real need to have the generated headers in the same dir as the
other source files.
Bye
Alex
More information about the CMake
mailing list