AUTOGEN_SOURCE_GROUP — CMake 4.0.1-dirty Documentation

# AUTOGEN_SOURCE_GROUP

Added in version 3.9.

Name of the `source_group()` for `AUTOMOC`, `AUTORCC` and `AUTOUIC` generated files.

Files generated by `AUTOMOC`, `AUTORCC` and `AUTOUIC` are not always known at configure time and therefore can't be passed to `source_group()`. `AUTOGEN_SOURCE_GROUP` can be used instead to generate or select a source group for `AUTOMOC`, `AUTORCC` and `AUTOUIC` generated files.

For `AUTOMOC`, `AUTORCC` and `AUTOUIC` specific overrides see `AUTOMOC_SOURCE_GROUP`, `AUTORCC_SOURCE_GROUP` and `AUTOUIC_SOURCE_GROUP` respectively.