On Wed, Jul 29, 2009 at 10:39 AM, John Drescher<dresche...@gmail.com> wrote:
> On Wed, Jul 29, 2009 at 10:27 AM, panter.dsd<panter....@gmail.com> wrote:
>> On Wednesday 29 of July 2009 18:19:38 Michael Jackson wrote:
>>> You probably need to add an "include_directories()" command that
>>> points to where ever the moc_XXX.cpp file can be found.
>>>
>>>
>>> _________________________________________________________
>>> Mike Jackson                  mike.jack...@bluequartz.net
>>> BlueQuartz Software                    www.bluequartz.net
>>> Principal Software Engineer                  Dayton, Ohio
>>>
>>
>> CMake does not generate moc_XXX.cpp. When compiling the generated file
>> moc_XXX.cxx, but I need the cpp.
>>
>
> I have seen this as well. The problem is moc is not executed on .cpp
> files only headers so if you have a private class defined in your .cpp
> file you will not get a moc_XXX.cpp file for it.
>

I mean CMake is not setting up moc for .cpp files.

John
_______________________________________________
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