summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/AUTOMOC_MOC_OPTIONS.rst
blob: ebd5c4951b3a4b192b92becade27bf117e7eced5 (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.