cmake/Help/prop_tgt/AUTOMOC_EXECUTABLE.rst

18 lines
660 B
ReStructuredText
Raw Normal View History

2019-11-11 23:01:05 +01:00
AUTOMOC_EXECUTABLE
------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.14
2019-11-11 23:01:05 +01:00
: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.