summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-09-15 12:41:07 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-24 10:30:41 (GMT)
commit9c87d9cc3e7a046f79ff62eda81203ef424e4a14 (patch)
treeda7af3604feb5e81e122aaabbc8a84345ba90440 /Modules
parent84218e1870ab075c9e2be1f2947358702c849fed (diff)
downloadCMake-9c87d9cc3e7a046f79ff62eda81203ef424e4a14.zip
CMake-9c87d9cc3e7a046f79ff62eda81203ef424e4a14.tar.gz
CMake-9c87d9cc3e7a046f79ff62eda81203ef424e4a14.tar.bz2
Add automatic rcc invocation for Qt.
This replaces the need to invoke qt4_add_resources by allowing adding the source .qrc file directly to the target sources.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/AutogenInfo.cmake.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/AutogenInfo.cmake.in b/Modules/AutogenInfo.cmake.in
index d2fb807..7554213 100644
--- a/Modules/AutogenInfo.cmake.in
+++ b/Modules/AutogenInfo.cmake.in
@@ -1,4 +1,5 @@
set(AM_SOURCES @_moc_files@ )
+set(AM_RCC_SOURCES @_rcc_files@ )
set(AM_SKIP_MOC @_skip_moc@ )
set(AM_SKIP_UIC @_skip_uic@ )
set(AM_HEADERS @_moc_headers@ )
@@ -10,6 +11,7 @@ set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/")
set(AM_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@/")
set(AM_QT_MOC_EXECUTABLE "@_qt_moc_executable@")
set(AM_QT_UIC_EXECUTABLE "@_qt_uic_executable@")
+set(AM_QT_RCC_EXECUTABLE "@_qt_rcc_executable@")
set(AM_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/")
set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/")
set(AM_QT_VERSION_MAJOR "@_target_qt_version@")
@@ -18,3 +20,5 @@ set(AM_RELAXED_MODE "@_moc_relaxed_mode@")
set(AM_UIC_TARGET_OPTIONS @_uic_target_options@)
set(AM_UIC_OPTIONS_FILES @_qt_uic_options_files@)
set(AM_UIC_OPTIONS_OPTIONS @_qt_uic_options_options@)
+set(AM_RCC_OPTIONS_FILES @_qt_rcc_options_files@)
+set(AM_RCC_OPTIONS_OPTIONS @_qt_rcc_options_options@)