autogen-macro-names.rst 623 B

123456789101112
  1. autogen-macro-names
  2. -------------------
  3. * When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
  4. and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
  5. processed. The new variable :variable:`CMAKE_AUTOMOC_MACRO_NAMES` allows to
  6. register additional strings (macro names) so search for.
  7. * When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
  8. and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
  9. processed. The new target property :prop_tgt:`AUTOMOC_MACRO_NAMES` allows to
  10. register additional strings (macro names) so search for.