[CMake] Should automoc automatically add CMAKE_CURRENT_BINARY_DIR to the include_directories?

David Doria daviddoria at gmail.com
Wed Oct 31 13:52:05 EDT 2012


When using automoc, I still have to do:

include_directories(${CMAKE_CURRENT_BINARY_DIR})

so that the compiler can find the MOCed files that get created in the
build directory. Should this be done automatically so there is one
less thing the user has to worry about?

Thanks,

David


More information about the CMake mailing list