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

This property is initialized by the value of the
:variable:`CMAKE_AUTOMOC_MOC_OPTIONS` variable if it is set when a target
is created, or an empty string otherwise.

See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.