summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-03-05 06:33:18 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-03-05 06:33:36 (GMT)
commitab1b573f4179d8b04757f1bbd0fc3bc098d69712 (patch)
tree56b0525b061488a3aa6bfb4f97fbc3095a45e383 /Help/prop_tgt/INTERFACE_HEADER_SETS.rst
parent65da32c924e97ad1e0e0ed0ea59644f87f770c34 (diff)
downloadCMake-ab1b573f4179d8b04757f1bbd0fc3bc098d69712.zip
CMake-ab1b573f4179d8b04757f1bbd0fc3bc098d69712.tar.gz
CMake-ab1b573f4179d8b04757f1bbd0fc3bc098d69712.tar.bz2
Help: Reorganise FILE_SETS and related properties
Reduce duplication and make the docs for target_sources() focus on the functionality rather than the properties it modifies. The properties are a lower level quantity, so put the relevant details for them in the property documentation. The target_sources() command only needs to reference the properties, not reproduce the property documentation. Improve the cross-referencing between the HEADER_... property docs. This helps build the mental picture of how they relate to each other.
Diffstat (limited to 'Help/prop_tgt/INTERFACE_HEADER_SETS.rst')
-rw-r--r--Help/prop_tgt/INTERFACE_HEADER_SETS.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
index 909510d..62db5b3 100644
--- a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
+++ b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
@@ -3,7 +3,12 @@ INTERFACE_HEADER_SETS
.. versionadded:: 3.23
-List of ``INTERFACE`` and ``PUBLIC`` header sets added by
-:command:`target_sources(FILE_SET)`. Headers listed in these header sets can be
-installed with :command:`install(TARGETS)` and exported with
+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`.