summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-05 14:18:36 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-05 14:19:10 (GMT)
commit79d379fba6e50cfbbb392e2e67fc71477c92b14f (patch)
tree78dfa543b7ec28d8dca8e5a0e7e67c20af835518
parent463e17b095d062011b8e44993558a95c02f09fb9 (diff)
downloadCMake-79d379fba6e50cfbbb392e2e67fc71477c92b14f.zip
CMake-79d379fba6e50cfbbb392e2e67fc71477c92b14f.tar.gz
CMake-79d379fba6e50cfbbb392e2e67fc71477c92b14f.tar.bz2
Help: Add versionadded markup to target_sources FILE_SET feature
This was accidentally left out of commit 4b0ee4e338 (Help: Add documentation for target_sources(FILE_SET) and associated properties, 2021-07-02).
-rw-r--r--Help/command/install.rst2
-rw-r--r--Help/command/target_sources.rst5
-rw-r--r--Help/prop_tgt/HEADER_DIRS.rst2
-rw-r--r--Help/prop_tgt/HEADER_DIRS_NAME.rst2
-rw-r--r--Help/prop_tgt/HEADER_SET.rst2
-rw-r--r--Help/prop_tgt/HEADER_SETS.rst2
-rw-r--r--Help/prop_tgt/HEADER_SET_NAME.rst2
-rw-r--r--Help/prop_tgt/INTERFACE_HEADER_SETS.rst2
8 files changed, 19 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index abde6e0..8216a69 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -205,6 +205,8 @@ that may be installed:
``RESOURCE`` files. See :prop_tgt:`RESOURCE` for details.
``FILE_SET <set>``
+ .. versionadded:: 3.23
+
If the file set ``<set>`` exists and is ``PUBLIC`` or ``INTERFACE``, any
files added to the file set ``<set>`` created by
:command:`target_sources(FILE_SET)` are installed in the specified
diff --git a/Help/command/target_sources.rst b/Help/command/target_sources.rst
index 2039da5..a09226f 100644
--- a/Help/command/target_sources.rst
+++ b/Help/command/target_sources.rst
@@ -60,6 +60,11 @@ expressions to ensure the sources are correctly assigned to the target.
See the :manual:`cmake-buildsystem(7)` manual for more on defining
buildsystem properties.
+File Sets
+^^^^^^^^^
+
+.. versionadded:: 3.23
+
.. code-block:: cmake
target_sources(<target>
diff --git a/Help/prop_tgt/HEADER_DIRS.rst b/Help/prop_tgt/HEADER_DIRS.rst
index 3495545..6cdd4f1 100644
--- a/Help/prop_tgt/HEADER_DIRS.rst
+++ b/Help/prop_tgt/HEADER_DIRS.rst
@@ -1,6 +1,8 @@
HEADER_DIRS
-----------
+.. versionadded:: 3.23
+
Semicolon-separated list of base directories of the default header set created
by :command:`target_sources(FILE_SET)`. This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`.
diff --git a/Help/prop_tgt/HEADER_DIRS_NAME.rst b/Help/prop_tgt/HEADER_DIRS_NAME.rst
index c2bbd0a..7d282e5 100644
--- a/Help/prop_tgt/HEADER_DIRS_NAME.rst
+++ b/Help/prop_tgt/HEADER_DIRS_NAME.rst
@@ -1,6 +1,8 @@
HEADER_DIRS_<NAME>
------------------
+.. versionadded:: 3.23
+
Semicolon-separated list of base directories of the header set with name
``<NAME>`` created by :command:`target_sources(FILE_SET)`. This property
supports :manual:`generator expressions <cmake-generator-expressions(7)>`.
diff --git a/Help/prop_tgt/HEADER_SET.rst b/Help/prop_tgt/HEADER_SET.rst
index 2b8b0d4..eee834f 100644
--- a/Help/prop_tgt/HEADER_SET.rst
+++ b/Help/prop_tgt/HEADER_SET.rst
@@ -1,6 +1,8 @@
HEADER_SET
----------
+.. versionadded:: 3.23
+
Semicolon-separated list of headers in the default header set created by
:command:`target_sources(FILE_SET)`. This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`. If any of the
diff --git a/Help/prop_tgt/HEADER_SETS.rst b/Help/prop_tgt/HEADER_SETS.rst
index ed7c528..d07763b 100644
--- a/Help/prop_tgt/HEADER_SETS.rst
+++ b/Help/prop_tgt/HEADER_SETS.rst
@@ -1,6 +1,8 @@
HEADER_SETS
-----------
+.. versionadded:: 3.23
+
List of ``PRIVATE`` and ``PUBLIC`` header sets added by
:command:`target_sources(FILE_SET)`. Headers listed in these header sets are
treated as source files for the purposes of IDE integration.
diff --git a/Help/prop_tgt/HEADER_SET_NAME.rst b/Help/prop_tgt/HEADER_SET_NAME.rst
index 25a5573..3405690 100644
--- a/Help/prop_tgt/HEADER_SET_NAME.rst
+++ b/Help/prop_tgt/HEADER_SET_NAME.rst
@@ -1,6 +1,8 @@
HEADER_SET_<NAME>
-----------------
+.. versionadded:: 3.23
+
Semicolon-separated list of headers in the named header set ``<NAME>`` created
by :command:`target_sources(FILE_SET)`. This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`. If any of the
diff --git a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
index 93ea9c5..909510d 100644
--- a/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
+++ b/Help/prop_tgt/INTERFACE_HEADER_SETS.rst
@@ -1,6 +1,8 @@
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