https://github.com/Kitware/CMake
Raw File
Tip revision: 566e96d42db35e2c88ceb5d0f3de49736295c496 authored by Brad King on 15 September 2020, 12:34:16 UTC
CMake 3.17.5
Tip revision: 566e96d
CMAKE_GLOBAL_AUTORCC_TARGET.rst
CMAKE_GLOBAL_AUTORCC_TARGET
---------------------------

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.
back to top