CXX_MODULE_HEADER_UNIT_SETS — CMake 3.25.2 Documentation

# CXX_MODULE_HEADER_UNIT_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 header sets (i.e. all file sets with the type `CXX_MODULE_HEADER_UNITS`). Files listed in these file sets are treated as source files for the purpose of IDE integration.

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

See also `CXX_MODULE_HEADER_UNIT_SET_<NAME>`, `CXX_MODULE_HEADER_UNIT_SET` and `INTERFACE_CXX_MODULE_HEADER_UNIT_SETS`.