summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocCMP0100/NEW/CMakeLists.txt
blob: aaaf7fbb66e6e8ebfe04ffe178b3f032bb6a9697 (plain)
1
2
3
4
5
6
7
8
9
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})