qt moc header in different packages
In a typical project is set in CMakeLists.txt
catkin_package(
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME}
)
if i create a lib and have headers in the include folders that depending packages require....
Now I have an rqt package, where I want to use a custom widget I create in this package in several sub packages. Is there any way to do that? Because now I cannot just add the include folder to INCLUDE_DIRS because the headers lying there might need to be moc'ed... I cannot directly compile against them...