summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-07-02 19:19:10 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-10-27 19:17:23 (GMT)
commit4b0ee4e3385adbdd69765360e4dc34832ef2b256 (patch)
tree7b4a599a2648f3057cb907813bb09c3e1f45b601 /Help/release
parent3c3698b0e47277db2721cd78e499f4b4a22f7e00 (diff)
downloadCMake-4b0ee4e3385adbdd69765360e4dc34832ef2b256.zip
CMake-4b0ee4e3385adbdd69765360e4dc34832ef2b256.tar.gz
CMake-4b0ee4e3385adbdd69765360e4dc34832ef2b256.tar.bz2
Help: Add documentation for target_sources(FILE_SET) and associated properties
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/target-sources-file-set.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Help/release/dev/target-sources-file-set.rst b/Help/release/dev/target-sources-file-set.rst
new file mode 100644
index 0000000..bd28efa
--- /dev/null
+++ b/Help/release/dev/target-sources-file-set.rst
@@ -0,0 +1,18 @@
+target-headers
+--------------
+
+* The :command:`target_sources` command gained a new ``FILE_SET`` mode, which
+ can be used to add headers as header-only source files of a target.
+* New :prop_tgt:`HEADER_SETS` and :prop_tgt:`INTERFACE_HEADER_SETS` properties
+ were added, which list the header file sets associated with a target.
+* New :prop_tgt:`HEADER_SET` and :prop_tgt:`HEADER_SET_<NAME>` properties were
+ added, which list the files in the associated header file set.
+* New :prop_tgt:`HEADER_DIRS` and :prop_tgt:`HEADER_DIRS_<NAME>` properties
+ were added, which specify the base directories of the associated header file
+ set.
+* The :command:`install(TARGETS)` command gained a new ``FILE_SET`` argument,
+ which can be used to install header file sets associated with a target.
+* The :manual:`File API <cmake-file-api(7)>` ``codemodel-v2`` minor version has
+ been bumped to ``4``.
+* The :manual:`File API <cmake-file-api(7)>` ``codemodel-v2`` ``directory``
+ object gained a new installer type of ``fileSet``.