summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-22 13:13:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-09-22 13:13:01 (GMT)
commite6f0bb7b1577923b6252370a6c8dd2db202dece7 (patch)
tree3076cd22c65c6903b745b37201dd2b915f5bd5a6 /Tests/QtAutogen/CMakeLists.txt
parentd8dde37d609fd0badfa4c9d13c927c2d2ed27902 (diff)
parente3c97a1914aa0a521b55b53ab1b0d71732c5e466 (diff)
downloadCMake-e6f0bb7b1577923b6252370a6c8dd2db202dece7.zip
CMake-e6f0bb7b1577923b6252370a6c8dd2db202dece7.tar.gz
CMake-e6f0bb7b1577923b6252370a6c8dd2db202dece7.tar.bz2
Merge topic 'autogen-fixes'
e3c97a19 QtAutogen: Process all ui files in a source file (#14981). b8877b1d QtAutogen: Add source files to target when only AUTORCC is used.
Diffstat (limited to 'Tests/QtAutogen/CMakeLists.txt')
-rw-r--r--Tests/QtAutogen/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/QtAutogen/CMakeLists.txt b/Tests/QtAutogen/CMakeLists.txt
index 3973653..3fd00b8 100644
--- a/Tests/QtAutogen/CMakeLists.txt
+++ b/Tests/QtAutogen/CMakeLists.txt
@@ -37,6 +37,9 @@ else()
endif()
+add_executable(rcconly rcconly.cpp second_resource.qrc)
+set_property(TARGET rcconly PROPERTY AUTORCC ON)
+target_link_libraries(rcconly ${QT_QTCORE_TARGET})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
@@ -71,6 +74,7 @@ if (CMAKE_BUILD_TYPE MATCHES "[Dd][Ee][Bb][Uu][Gg]" AND NOT CMAKE_CONFIGURATION_
endif()
add_executable(QtAutogen main.cpp calwidget.cpp second_widget.cpp foo.cpp blub.cpp bar.cpp abc.cpp
+ multiplewidgets.cpp
xyz.cpp yaf.cpp gadget.cpp $<TARGET_OBJECTS:privateSlot>
test.qrc second_resource.qrc resourcetester.cpp generated.cpp ${debug_srcs}
)