[CMake] Qt4_WRAP_CPP

elizabeta petreska elizabeta.petreska at gmail.com
Mon Nov 2 10:21:38 EST 2009


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/149b21c1/attachment.htm>


More information about the CMake mailing list