10 lines
239 B
CMake
10 lines
239 B
CMake
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})
|