Skip to content

Autogen: Add AUTOMOC_MACRO_NAMES support

Sebastian Holtermann requested to merge sebholt/cmake:autogen-macro-names into master

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.

Edited by Sebastian Holtermann

Merge request reports