[CMake] Qt4_WRAP_CPP

Clinton Stimpson clinton at elemtech.com
Mon Nov 2 19:53:39 EST 2009



On Nov 2, 2009, at 1:41 PM, elizabeta petreska wrote:

> Do I actually need moc generated files per build comfiguration?

No you don't.  The output from moc is identical for all build  
configurations.

Clint


>
> 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
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/ 
> opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http:// 
> www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091102/40d6b52a/attachment.htm>


More information about the CMake mailing list