CXX_MODULE_SETS — CMake 3.28.3 Documentation

# CXX_MODULE_SETS

New in version 3.28.

Read-only list of the target's `PRIVATE` and `PUBLIC` C++ module sets (i.e. all file sets with the type `CXX_MODULES`). Files listed in these file sets are treated as source files for the purpose of IDE integration.

C++ module sets may be defined using the `target_sources()` command `FILE_SET` option with type `CXX_MODULES`.

See also `CXX_MODULE_SET_<NAME>`, `CXX_MODULE_SET` and `INTERFACE_CXX_MODULE_SETS`.