mirror of
https://github.com/reactos/CMake.git
synced 2025-02-01 01:22:58 +00:00
Autogen: Add documentation for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET
This commit is contained in:
parent
8c8731b422
commit
2ef8fe2222
@ -236,6 +236,7 @@ when either
|
||||
:prop_sf:`SKIP_AUTOMOC`, :prop_sf:`SKIP_AUTOUIC`, :prop_sf:`SKIP_AUTOGEN`
|
||||
or :policy:`CMP0071`
|
||||
- :prop_tgt:`AUTOGEN_TARGET_DEPENDS` lists a source file
|
||||
- :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET` is enabled
|
||||
|
||||
qtmain.lib on Windows
|
||||
=====================
|
||||
|
@ -345,6 +345,10 @@ Variables that Control the Build
|
||||
/variable/CMAKE_FOLDER
|
||||
/variable/CMAKE_Fortran_FORMAT
|
||||
/variable/CMAKE_Fortran_MODULE_DIRECTORY
|
||||
/variable/CMAKE_GLOBAL_AUTOGEN_TARGET
|
||||
/variable/CMAKE_GLOBAL_AUTOGEN_TARGET_NAME
|
||||
/variable/CMAKE_GLOBAL_AUTORCC_TARGET
|
||||
/variable/CMAKE_GLOBAL_AUTORCC_TARGET_NAME
|
||||
/variable/CMAKE_GNUtoMS
|
||||
/variable/CMAKE_INCLUDE_CURRENT_DIR
|
||||
/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
|
||||
|
@ -86,5 +86,9 @@ enabling :prop_sf:`SKIP_AUTOMOC` or the broader :prop_sf:`SKIP_AUTOGEN`.
|
||||
The number of parallel ``moc`` processes to start can be modified by
|
||||
setting :prop_tgt:`AUTOGEN_PARALLEL`.
|
||||
|
||||
A global ``autogen`` target that depends on all :prop_tgt:`AUTOMOC` generated
|
||||
``<ORIGIN>_autogen`` targets in the project can be generated by enabling
|
||||
:variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
|
@ -35,5 +35,9 @@ generate unspecified unique names for ``rcc``. Therefore if
|
||||
Source files can be excluded from :prop_tgt:`AUTORCC` processing by
|
||||
enabling :prop_sf:`SKIP_AUTORCC` or the broader :prop_sf:`SKIP_AUTOGEN`.
|
||||
|
||||
A global ``autorcc`` target that depends on all :prop_tgt:`AUTORCC` targets
|
||||
in the project can be generated by enabling
|
||||
:variable:`CMAKE_GLOBAL_AUTORCC_TARGET`.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
|
@ -36,5 +36,9 @@ enabling :prop_sf:`SKIP_AUTOUIC` or the broader :prop_sf:`SKIP_AUTOGEN`.
|
||||
The number of parallel ``uic`` processes to start can be modified by
|
||||
setting :prop_tgt:`AUTOGEN_PARALLEL`.
|
||||
|
||||
A global ``autogen`` target that depends on all :prop_tgt:`AUTOUIC` generated
|
||||
``<ORIGIN>_autogen`` targets in the project can be generated by enabling
|
||||
:variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
|
18
Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
Normal file
18
Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
Normal file
@ -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.
|
13
Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET_NAME.rst
Normal file
13
Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET_NAME.rst
Normal file
@ -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.
|
18
Help/variable/CMAKE_GLOBAL_AUTORCC_TARGET.rst
Normal file
18
Help/variable/CMAKE_GLOBAL_AUTORCC_TARGET.rst
Normal file
@ -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.
|
13
Help/variable/CMAKE_GLOBAL_AUTORCC_TARGET_NAME.rst
Normal file
13
Help/variable/CMAKE_GLOBAL_AUTORCC_TARGET_NAME.rst
Normal file
@ -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.
|
Loading…
x
Reference in New Issue
Block a user