HEADER_SETS — CMake 4.3.0 Documentation

# HEADER_SETS

Added in version 3.23.

Read-only list of the target's `PRIVATE` and `PUBLIC` header sets (i.e. all file sets with the type `HEADERS`). Files listed in these file sets are treated as source files for the purpose of IDE integration. The files also have their `HEADER_FILE_ONLY` property set to `TRUE`.

Header sets may be defined using the `target_sources()` command `FILE_SET` option with type `HEADERS`.

See also `HEADER_SET_<NAME>`, `HEADER_SET` and `INTERFACE_HEADER_SETS`.