diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-04-11 18:06:15 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-04-11 18:06:15 (GMT) |
commit | c5d4812f20b61982494c11412190f040a6178be6 (patch) | |
tree | 76697487500e783edae77c3168d8e98d6cffeb6b /Help/prop_tgt/INTERFACE_HEADER_SETS.rst | |
parent | 05783b168d47c2062817d58cb0a905dd6893cf8b (diff) | |
download | CMake-c5d4812f20b61982494c11412190f040a6178be6.zip CMake-c5d4812f20b61982494c11412190f040a6178be6.tar.gz CMake-c5d4812f20b61982494c11412190f040a6178be6.tar.bz2 |
cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
There is no reason to allow these properties to be manipulated by user
code. Instead, use the stored visibility on the fileset objects to
derive what these properties should contain.
Diffstat (limited to 'Help/prop_tgt/INTERFACE_HEADER_SETS.rst')
-rw-r--r-- | Help/prop_tgt/INTERFACE_HEADER_SETS.rst | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst index 62db5b3..498dc31 100644 --- a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst +++ b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst @@ -3,12 +3,9 @@ INTERFACE_HEADER_SETS .. versionadded:: 3.23 -List of the target's ``INTERFACE`` and ``PUBLIC`` header sets (i.e. all -file sets with the type ``HEADERS``). Files listed in these header sets +Read-only list of the target's ``INTERFACE`` and ``PUBLIC`` header sets (i.e. +all file sets with the type ``HEADERS``). Files listed in these header sets can be installed with :command:`install(TARGETS)` and exported with :command:`install(EXPORT)` and :command:`export`. -This property is normally only set by :command:`target_sources(FILE_SET)` -rather than being manipulated directly. - See also :prop_tgt:`HEADER_SETS`. |