[CMake] Qt4_WRAP_CPP

elizabeta petreska elizabeta.petreska at gmail.com
Mon Nov 2 15:41:32 EST 2009


Do I actually need moc generated files per build comfiguration?

On Mon, Nov 2, 2009 at 4:21 PM, elizabeta petreska <
elizabeta.petreska at gmail.com> wrote:

> Hello
>
> how to control where the generated moc files go ?
>
> I am using this macro like this :
>
> FILE(GLOB MOC_HEADERS
>   moc/*.h )
>
> QT4_WRAP_CPP(out_moc_files ${MOC_HEADERS})
>
> And the generated files are going in my CMAKE_BINARY_DIR.
>
> What to do if I want the generated files to go to CMAKE_BINARY_DIR/debug or
> CMAKE_BINARY_DIR/release, i.e where I can set the file path ?
>
> Thanks
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091102/76a7a459/attachment.htm>


More information about the CMake mailing list