summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
blob: e461036631c70a5352c1f9e32d0d655b290da66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.