summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_AUTOMOC_PATH_PREFIX.rst
blob: 42f48b40047f61eb1a329a2a0b04be83c2eba04c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CMAKE_AUTOMOC_PATH_PREFIX
-------------------------

.. versionadded:: 3.16

Whether to generate the ``-p`` path prefix option for ``moc`` on
:prop_tgt:`AUTOMOC` enabled Qt targets.

This variable is used to initialize the :prop_tgt:`AUTOMOC_PATH_PREFIX`
property on all the targets.  See that target property for additional
information.

The default value is ``OFF``.