CMAKE_AUTOMOC_COMPILER_PREDEFINES

From Get docs
Cmake/docs/3.21/variable/cmake automoc compiler predefines


CMAKE_AUTOMOC_COMPILER_PREDEFINES

New in version 3.10.


This variable is used to initialize the AUTOMOC_COMPILER_PREDEFINES property on all the targets. See that target property for additional information.

By default it is ON.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_AUTOMOC_COMPILER_PREDEFINES.html