W3cubDocs

/CMake 3.19

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–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.19/prop_sf/SKIP_AUTOGEN.html