Files
CMake/Help/variable/CMAKE_GLOBAL_AUTORCC_TARGET.rst
Kitware Robot 496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.

Issue: #19715
2020-07-06 10:23:20 -04:00

21 lines
713 B
ReStructuredText

CMAKE_GLOBAL_AUTORCC_TARGET
---------------------------
.. versionadded:: 3.14
Switch to enable generation of a global ``autorcc`` target.
When :variable:`CMAKE_GLOBAL_AUTORCC_TARGET` is enabled, a custom target
``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`.
By default :variable:`CMAKE_GLOBAL_AUTORCC_TARGET` is unset.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.