INTERFACE_CXX_MODULE_SETS — CMake 4.2.6 Documentation

# INTERFACE_CXX_MODULE_SETS

Added in version 3.28.

Read-only list of the target's `PUBLIC` C++ module sets (i.e. all file sets with the type `CXX_MODULES`). Files listed in these C++ module sets can be installed with `install(TARGETS)` and exported with `install(EXPORT)` and `export()`.

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

See also `CXX_MODULE_SETS`.