Hi! Look at $ git pull gitorious:~urkud1/cmake/urkud-cmake.git w/automoc-object please.
It fixes CMAKE_AUTOMOC in the following scenario: set(CMAKE_AUTOMOC ON) # test.cpp has '#include "test.moc"' line add_library(objlib OBJECT test.cpp) add_executable(foo $<TARGET_OBJECTS:objlib> foo.cpp) The second commit in the branch updates Tests/QtAutomoc. -- Yury G. Kudryashov, mailto: ur...@mccme.ru -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers