summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-12 12:47:45 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-12 12:47:45 (GMT)
commit5fa15ec9f34d69b2a6b1ce08a6102f16c5d7ab9b (patch)
tree69bf6552359c537a08fe7e919b69f3058f760bd8 /Help/prop_tgt
parentc5d4812f20b61982494c11412190f040a6178be6 (diff)
downloadCMake-5fa15ec9f34d69b2a6b1ce08a6102f16c5d7ab9b.zip
CMake-5fa15ec9f34d69b2a6b1ce08a6102f16c5d7ab9b.tar.gz
CMake-5fa15ec9f34d69b2a6b1ce08a6102f16c5d7ab9b.tar.bz2
Help: Document that target_sources defines [INTERFACE_]HEADER_SETS
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/HEADER_SETS.rst3
-rw-r--r--Help/prop_tgt/INTERFACE_HEADER_SETS.rst3
2 files changed, 6 insertions, 0 deletions
diff --git a/Help/prop_tgt/HEADER_SETS.rst b/Help/prop_tgt/HEADER_SETS.rst
index eaec79f..ceb1df5 100644
--- a/Help/prop_tgt/HEADER_SETS.rst
+++ b/Help/prop_tgt/HEADER_SETS.rst
@@ -8,5 +8,8 @@ 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 :prop_sf:`HEADER_FILE_ONLY` property set to ``TRUE``.
+Header sets may be defined using the :command:`target_sources` command
+``FILE_SET`` option with type ``HEADERS``.
+
See also :prop_tgt:`HEADER_SET_<NAME>`, :prop_tgt:`HEADER_SET` and
:prop_tgt:`INTERFACE_HEADER_SETS`.
diff --git a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
index 498dc31..2d3bdac 100644
--- a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
+++ b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
@@ -8,4 +8,7 @@ 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`.
+Header sets may be defined using the :command:`target_sources` command
+``FILE_SET`` option with type ``HEADERS``.
+
See also :prop_tgt:`HEADER_SETS`.