[CMake] CMAKE equivalent of qmake's MOC_DIR

Thomas Burdick thomas.burdick at gmail.com
Wed Jul 23 14:31:22 EDT 2008


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.

-Tom

On Tue, Jul 22, 2008 at 4:57 PM, Andreas Pakulat <apaku at gmx.de> wrote:

> 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.
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080723/f7b24029/attachment.htm>


More information about the CMake mailing list