summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/autogen-macro-names.rst
blob: 64712951632bf8a3603bae399d8969f0e06ecd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
autogen-macro-names
-------------------

* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``,
  ``Q_GADGET`` or ``Q_NAMESPACE`` in a source file to determine if it needs
  to be ``moc`` processed. The new variable
  :variable:`CMAKE_AUTOMOC_MACRO_NAMES` allows to register additional
  strings (macro names) so search for.

* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``,
  ``Q_GADGET`` or ``Q_NAMESPACE`` in a source file to determine if it needs
  to be ``moc`` processed. The new target property
  :prop_tgt:`AUTOMOC_MACRO_NAMES` allows to register additional strings
  (macro names) so search for.