[CMake] CMAKE equivalent of qmake's MOC_DIR
Andreas Pakulat
apaku at gmx.de
Tue Jul 22 17:57:58 EDT 2008
On 22.07.08 14:02:06, David Boosalis wrote:
> Hi
>
> The qmake variable MOC_DIR allows you to define where you want the generated moc flies to reside. I like to use it as it keeps my source directory clean.
>
> Is there a similar variable with cmake
Thats not really needed with cmake, because cmake allows to do real
out-of-source builds without having to set tons of output dirs
individually. Just create a build dir somewhere, go into it and run
cmake <sourcedir>
Andreas
--
You will be winged by an anti-aircraft battery.
More information about the CMake
mailing list