diff options
author | Brad King <brad.king@kitware.com> | 2021-10-28 13:57:53 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-10-28 13:58:13 (GMT) |
commit | 51e9d93c9c8f45aeebb5566cace2e0d3d7da2fda (patch) | |
tree | 3587b246f886cb40a65a6b413e064c01c1bbd2f4 /Help/release | |
parent | a3791b24c9a84788ae426697c768f5126fab8c75 (diff) | |
parent | a7c71b9f035175def9a3e53ed12112c6bb4862e5 (diff) | |
download | CMake-51e9d93c9c8f45aeebb5566cace2e0d3d7da2fda.zip CMake-51e9d93c9c8f45aeebb5566cace2e0d3d7da2fda.tar.gz CMake-51e9d93c9c8f45aeebb5566cace2e0d3d7da2fda.tar.bz2 |
Merge topic 'target-sources-file-set'
a7c71b9f03 Tests: Add tests for target_sources(FILE_SET) and associated functionality
4b0ee4e338 Help: Add documentation for target_sources(FILE_SET) and associated properties
3c3698b0e4 FileAPI: Add information on file set installers
8a09723bff cmGeneratorTarget: Integrate file sets into calculated sources
2a78d47b16 install(EXPORT): Install file sets
9b479124cc install(TARGETS): Add FILE_SET mode
d8af2d954f target_sources(): Add FILE_SET mode
f2bd022468 cmTargetSources: Refactor to add enum class parameters
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !6653
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/target-sources-file-set.rst | 18 |
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``. |