summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst')
-rw-r--r--Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst b/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
new file mode 100644
index 0000000000..ebd5c4951b
--- /dev/null
+++ b/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
@@ -0,0 +1,15 @@
+AUTOMOC_MOC_OPTIONS
+-------------------
+
+Additional options for moc when using :prop_tgt:`AUTOMOC`
+
+This property is only used if the :prop_tgt:`AUTOMOC` property is ``ON``
+for this target. In this case, it holds additional command line
+options which will be used when ``moc`` is executed during the build, i.e.
+it is equivalent to the optional ``OPTIONS`` argument of the
+:module:`qt4_wrap_cpp() <FindQt4>` macro.
+
+By default it is empty.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.