|
|
@@ -28,6 +28,7 @@ add_executable(mocDepends1 test1.cpp
|
|
|
)
|
|
|
target_link_libraries(mocDepends1 ${QT_CORE_TARGET})
|
|
|
set_target_properties(mocDepends1 PROPERTIES AUTOMOC TRUE)
|
|
|
+set_property(TARGET mocDepends1 PROPERTY __UNDOCUMENTED_AUTOGEN_GENERATED_FILES 1)
|
|
|
|
|
|
# -- Test 2 using generated library
|
|
|
# This tests the dependency of AUTOMOC of mocDepends2 to the
|
|
|
@@ -43,3 +44,4 @@ add_library(SimpleLib STATIC simpleLib.hpp simpleLib.cpp)
|
|
|
add_executable(mocDepends2 test2.cpp )
|
|
|
target_link_libraries(mocDepends2 SimpleLib ${QT_CORE_TARGET})
|
|
|
set_target_properties(mocDepends2 PROPERTIES AUTOMOC TRUE)
|
|
|
+set_property(TARGET mocDepends2 PROPERTY __UNDOCUMENTED_AUTOGEN_GENERATED_FILES 1)
|