CXX_MODULE_SET_<NAME> — CMake 4.4.3 Documentation

# CXX_MODULE_SET_<NAME>

Added in version 3.28.

Semicolon-separated list of files in the target's `<NAME>` C++ module set, which has the set type `CXX_MODULES`. If any of the paths are relative, they are computed relative to the target's source directory. The property supports `generator expressions`.

This property is normally only set by `target_sources(FILE_SET)` rather than being manipulated directly.

See `CXX_MODULE_SET` for the list of files in the default C++ module set. See `CXX_MODULE_SETS` for the file set names of all C++ module sets.