10 lines
239 B
CMake
Raw Normal View History

2020-08-30 11:54:41 +02:00
cmake_policy(SET CMP0100 NEW)
add_executable(mocCMP0100New
${CSD}/main.cpp
${CSD}/Obj.hh # Manually include Obj.hh
${CSD}/Obj.cpp
${CSD}/Obj2.cpp # Let AUTOMOC detect Obj2.hh
)
target_link_libraries(mocCMP0100New ${QT_LIBRARIES})