summaryrefslogtreecommitdiffstats
path: root/Modules/AutogenInfo.cmake.in
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-09-17 00:42:30 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-10-24 17:45:27 (GMT)
commit6e1c359fe9bee71c421a671108176d47fb415d93 (patch)
tree7672d870bac30b8ede0e201558155e5107cdb9b9 /Modules/AutogenInfo.cmake.in
parenta29953180c21ba0d56fb236eb58bafd40ae68961 (diff)
downloadCMake-6e1c359fe9bee71c421a671108176d47fb415d93.zip
CMake-6e1c359fe9bee71c421a671108176d47fb415d93.tar.gz
CMake-6e1c359fe9bee71c421a671108176d47fb415d93.tar.bz2
QtAutogen: Regenerate qrc files if their input changes (#15074)
Get dependencies from the output of ``rcc --list`` if using Qt 5. Otherwise process the file in the same way as the qt4_add_resources macro. This does not work for RCC files which are generated. The cmake_autogen build step is implemented as a PRE_BUILD step of the target currently if possible, rather than a standalone custom target. This is to keep the number of (synthesized) custom targets that appear in the UI low, but in some cases it is necessary to fall back to a full custom target. Fall back to a full custom target for the VS builds if autorcc is used.
Diffstat (limited to 'Modules/AutogenInfo.cmake.in')
-rw-r--r--Modules/AutogenInfo.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/AutogenInfo.cmake.in b/Modules/AutogenInfo.cmake.in
index 602b065..7d89420 100644
--- a/Modules/AutogenInfo.cmake.in
+++ b/Modules/AutogenInfo.cmake.in
@@ -1,5 +1,6 @@
set(AM_SOURCES @_cpp_files@ )
set(AM_RCC_SOURCES @_rcc_files@ )
+set(AM_RCC_INPUTS @_qt_rcc_inputs@)
set(AM_SKIP_MOC @_skip_moc@ )
set(AM_SKIP_UIC @_skip_uic@ )
set(AM_HEADERS @_moc_headers@ )