system.rst 1.0 KB

12345678910111213141516171819202122232425
  1. system
  2. ------
  3. * The :prop_tgt:`SYSTEM` target property was added to specify
  4. that a target should be treated as a system library (i.e.
  5. its include directories are automatically ``SYSTEM`` when
  6. compiling consumers).
  7. * The :prop_dir:`SYSTEM` directory property was added to initialize the
  8. :prop_tgt:`SYSTEM` target property for targets created in that directory.
  9. * The :command:`add_subdirectory` command gained a ``SYSTEM`` option
  10. to enable the :prop_dir:`SYSTEM` directory property in the subdirectory.
  11. * The :module:`FetchContent` module :command:`FetchContent_Declare`
  12. command gained a ``SYSTEM`` option to enable the :prop_dir:`SYSTEM`
  13. directory property in the subdirectory.
  14. * The :prop_tgt:`EXPORT_NO_SYSTEM` target property was added to
  15. specify that :command:`install(EXPORT)` and :command:`export`
  16. commands will generate a imported target with
  17. :prop_tgt:`SYSTEM` property `OFF`.
  18. * The :prop_tgt:`IMPORTED_NO_SYSTEM` target property was deprecated
  19. in favor of :prop_tgt:`SYSTEM` and :prop_tgt:`EXPORT_NO_SYSTEM`.