cmake/Help/variable/CMAKE_GLOBAL_AUTORCC_TARGET.rst

21 lines
697 B
ReStructuredText
Raw Normal View History

2019-11-11 23:01:05 +01:00
CMAKE_GLOBAL_AUTORCC_TARGET
---------------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.14
2019-11-11 23:01:05 +01:00
Switch to enable generation of a global ``autorcc`` target.
2023-05-23 16:38:00 +02:00
When ``CMAKE_GLOBAL_AUTORCC_TARGET`` is enabled, a custom target
2019-11-11 23:01:05 +01:00
``autorcc`` is generated. This target depends on all :prop_tgt:`AUTORCC`
generated ``<ORIGIN>_arcc_<QRC>`` targets in the project.
By building the global ``autorcc`` target, all :prop_tgt:`AUTORCC`
files in the project will be generated.
The name of the global ``autorcc`` target can be changed by setting
:variable:`CMAKE_GLOBAL_AUTORCC_TARGET_NAME`.
2023-05-23 16:38:00 +02:00
By default ``CMAKE_GLOBAL_AUTORCC_TARGET`` is unset.
2019-11-11 23:01:05 +01:00
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.