target-sources-file-set.rst 1021 B

123456789101112131415161718
  1. target-headers
  2. --------------
  3. * The :command:`target_sources` command gained a new ``FILE_SET`` mode, which
  4. can be used to add headers as header-only source files of a target.
  5. * New :prop_tgt:`HEADER_SETS` and :prop_tgt:`INTERFACE_HEADER_SETS` properties
  6. were added, which list the header file sets associated with a target.
  7. * New :prop_tgt:`HEADER_SET` and :prop_tgt:`HEADER_SET_<NAME>` properties were
  8. added, which list the files in the associated header file set.
  9. * New :prop_tgt:`HEADER_DIRS` and :prop_tgt:`HEADER_DIRS_<NAME>` properties
  10. were added, which specify the base directories of the associated header file
  11. set.
  12. * The :command:`install(TARGETS)` command gained a new ``FILE_SET`` argument,
  13. which can be used to install header file sets associated with a target.
  14. * The :manual:`File API <cmake-file-api(7)>` ``codemodel-v2`` minor version has
  15. been bumped to ``4``.
  16. * The :manual:`File API <cmake-file-api(7)>` ``codemodel-v2`` ``directory``
  17. object gained a new installer type of ``fileSet``.