You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
470 B
19 lines
470 B
8 years ago
|
# Test moc include patterns
|
||
|
|
||
|
set(CMAKE_AUTOMOC_RELAXED_MODE TRUE)
|
||
|
|
||
|
include_directories("../mocInclude")
|
||
|
|
||
|
add_executable(mocIncludeRelaxed
|
||
|
../mocInclude/ObjA.cpp
|
||
|
../mocInclude/ObjB.cpp
|
||
|
../mocInclude/ObjC.cpp
|
||
|
../mocInclude/ObjD.cpp
|
||
|
../mocInclude/subA/SubObjA.cpp
|
||
|
../mocInclude/subB/SubObjB.cpp
|
||
|
../mocInclude/subC/SubObjC.cpp
|
||
|
main.cpp
|
||
|
)
|
||
|
target_link_libraries(mocIncludeRelaxed ${QT_LIBRARIES})
|
||
|
set_target_properties(mocIncludeRelaxed PROPERTIES AUTOMOC ON)
|