Thank you for the reply

then why when I am building my project with qmake, the moc generated files
are going in my debug and release folders? It shoud not be like so, if the
moc output is identical right? or I am missing something

On Tue, Nov 3, 2009 at 1:53 AM, Clinton Stimpson <clin...@elemtech.com>wrote:

>
>
> 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.petre...@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
>
>
>
_______________________________________________
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

Reply via email to