CXX_MODULE_HEADER_UNIT_DIRS_<NAME> — CMake 3.25.2 Documentation

# CXX_MODULE_HEADER_UNIT_DIRS_<NAME>

New in version 3.25.

Note

Experimental. Gated by `CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API`

Semicolon-separated list of base directories of the target's `<NAME>` C++ module header set, which has the set type `CXX_MODULE_HEADER_UNITS`. The property supports `generator expressions`.

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

See `CXX_MODULE_HEADER_UNIT_DIRS` for the list of base directories in the default C++ module header set. See `CXX_MODULE_HEADER_UNIT_SETS` for the file set names of all C++ module header sets.