autogen-macro-names.rst 659 B

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