summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/prop_tgt/AUTOMOC_EXECUTABLE.rst
blob: 6b66ce81fed7f8208b061ebd6a5fbf44e4e2bce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.