[CMake] CMAKE equivalent of qmake's MOC_DIR

Andreas Pakulat apaku at gmx.de
Wed Jul 23 14:43:26 EDT 2008


On 23.07.08 13:31:22, Thomas Burdick wrote:
> It'd still be nice to specify where these files go, even if its not
> necessarily needed. In source builds tend to get messy otherwise.

Then don't do in-source builds. Seriously if you want your sourcedir to
be clean, there's only one right way to do that: Out-of-source build.
QMake can't do that due to limitations in its design, so it provides
these "workarounds" for the different generated files. With CMake
there's no need. And if you want to use in-source-build its correct that
you get the .moc files in your source tree.

Andreas

-- 
Time to be aggressive.  Go after a tattooed Virgo.


More information about the CMake mailing list