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

* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
  and ``Q_OBJECT`` 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``
  and ``Q_OBJECT`` 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.