summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/AUTOMOC_EXECUTABLE.rst
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-11-28 16:00:50 +0100
committerBrad King <brad.king@kitware.com>2019-01-10 08:03:24 -0500
commitcd32886b2f5c8f6bdcc9185274a934102c821a20 (patch)
treec9126c0e11fb091ce504039a13d32bded1fc6466 /Help/prop_tgt/AUTOMOC_EXECUTABLE.rst
parent9045f6a30fc8ce21d2b2298c27ba1da41c23bbf3 (diff)
downloadcmake-cd32886b2f5c8f6bdcc9185274a934102c821a20.tar.gz
Autogen: Add AUTO(MOC|RCC|UIC)_EXECUTABLE target properties
Allow to force moc/rcc/uic compiler used for AUTO(MOC|RCC|UIC). Setting these properties is only necessary if you are going to do strange things like build these tools as part of your own build system. Setting these properties will also prevent cmake from testing the binary: It is user-provided and assumed to be valid.
Diffstat (limited to 'Help/prop_tgt/AUTOMOC_EXECUTABLE.rst')
-rw-r--r--Help/prop_tgt/AUTOMOC_EXECUTABLE.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/prop_tgt/AUTOMOC_EXECUTABLE.rst b/Help/prop_tgt/AUTOMOC_EXECUTABLE.rst
new file mode 100644
index 0000000000..6b66ce81fe
--- /dev/null
+++ b/Help/prop_tgt/AUTOMOC_EXECUTABLE.rst
@@ -0,0 +1,15 @@
+AUTOMOC_EXECUTABLE
+------------------
+
+:prop_tgt:`AUTOMOC_EXECUTABLE` is file path pointing to the ``moc``
+executable to use for :prop_tgt:`AUTOMOC` enabled files. Setting
+this property will make CMake skip the automatic detection of the
+``moc`` binary as well as the sanity-tests normally run to ensure
+that the binary is available and working as expected.
+
+Usually this property does not need to be set. Only consider this
+property if auto-detection of ``moc`` can not work -- e.g. because
+you are building the ``moc`` binary as part of your project.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.