panter.dsd wrote:

        
CMake does not generate moc_XXX.cpp. When compiling the generated file moc_XXX.cxx, but I need the cpp.

I think you might want to not use #include with cpp when using Cmake, and that should fix your problem. qt4_wrap_cpp( MOC_SOURCES ...) will put the list of moc sources in the variable MOC_SOURCES add_executable( PantherCommander ....${MOC_SOURCES} ) will compile them into your exe, so no need to #include them.

-Bill


Fax (518) 371-4573
_______________________________________________
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