On Saturday 31 July 2010, Clinton Stimpson wrote: > If you put main.moc in add_executable() then you don't have to use the > set_source_files_properties() to manually specify dependencies.
Yes, but main.moc is already #included in main.cpp so it cannout be added to add_executable. In KDE we are using automoc4, which implements qmake-compatible behaviour with cmake: http://techbase.kde.org/Development/Tools/Automoc4 http://websvn.kde.org/trunk/kdesupport/automoc/ Alex _______________________________________________ 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
