CXX_MODULE_SET — CMake 4.0.1-dirty Documentation

# CXX_MODULE_SET

Added in version 3.28.

Semicolon-separated list of files in the target's default C++ module set, (i.e. the file set with name and 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_<NAME>` for the list of files in other C++ module sets.