summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-12 13:22:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-12 13:22:39 (GMT)
commitc310480c5dc76ad0c1eb4e842869f92121d5b507 (patch)
tree43807bf8e40cafa97609de925bb027ad59df92e8 /Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
parenta16b24c9ce2bde6503d7580d40e0eab38d279788 (diff)
parent0e97ef74d82fa4e18a0701216b1003bd346903b2 (diff)
downloadCMake-c310480c5dc76ad0c1eb4e842869f92121d5b507.zip
CMake-c310480c5dc76ad0c1eb4e842869f92121d5b507.tar.gz
CMake-c310480c5dc76ad0c1eb4e842869f92121d5b507.tar.bz2
Merge topic 'autogen_global_target'
0e97ef74d8 Autogen: Add release notes for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET 2ef8fe2222 Autogen: Add documentation for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET 8c8731b422 Autogen: Add test for CMAKE_GLOBAL_AUTOGEN/RCC_TARGET 3baa817c34 Autogen: Add support for global ``autogen`` and ``autorcc`` targets 3327d3bb20 Autogen: Add cmQtAutoGenGlobalInitializer class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2567
Diffstat (limited to 'Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst')
-rw-r--r--Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst b/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
new file mode 100644
index 0000000..75903ab
--- /dev/null
+++ b/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
@@ -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.