Autogen: Add documentation for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET

This commit is contained in:
Sebastian Holtermann
2018-11-11 13:50:17 +01:00
parent 8c8731b422
commit 2ef8fe2222
9 changed files with 79 additions and 0 deletions
@@ -0,0 +1,18 @@
CMAKE_GLOBAL_AUTOGEN_TARGET
---------------------------
Switch to enable generation of a global ``autogen`` target.
When :variable:`CMAKE_GLOBAL_AUTORCC_TARGET` is enabled, a custom target
``autogen`` is generated. This target depends on all :prop_tgt:`AUTOMOC` and
:prop_tgt:`AUTOUIC` generated ``<ORIGIN>_autogen`` targets in the project.
By building the global ``autogen`` target, all :prop_tgt:`AUTOMOC` and
:prop_tgt:`AUTOUIC` files in the project will be generated.
The name of the global ``autogen`` target can be changed by setting
:variable:`CMAKE_GLOBAL_AUTOGEN_TARGET_NAME`.
By default :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET` is unset.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.
@@ -0,0 +1,13 @@
CMAKE_GLOBAL_AUTOGEN_TARGET_NAME
--------------------------------
Change the name of the global ``autogen`` target.
When :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET` is enabled, a global custom target
named ``autogen`` is created. :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET_NAME`
allows to set a different name for that target.
By default :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET_NAME` is unset.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.
@@ -0,0 +1,18 @@
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.
@@ -0,0 +1,13 @@
CMAKE_GLOBAL_AUTORCC_TARGET_NAME
--------------------------------
Change the name of the global ``autorcc`` target.
When :variable:`CMAKE_GLOBAL_AUTORCC_TARGET` is enabled, a global custom target
named ``autorcc`` is created. :variable:`CMAKE_GLOBAL_AUTORCC_TARGET_NAME`
allows to set a different name for that target.
By default :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET_NAME` is unset.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.