CXX_MODULE_SETS — CMake 3.27.7 Documentation

# CXX_MODULE_SETS

New in version 3.25.

Note

Experimental. Gated by `CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API`

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`.