SKIP_AUTOGEN
From Get docs
Cmake/docs/3.21/prop sf/skip autogen
SKIP_AUTOGEN
New in version 3.8.
Exclude the source file from AUTOMOC, AUTOUIC and AUTORCC processing (for Qt projects).
For finer exclusion control see SKIP_AUTOMOC, SKIP_AUTOUIC and SKIP_AUTORCC.
EXAMPLE
# ...
set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON)
# ...
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_sf/SKIP_AUTOGEN.html