set_directory_properties.rst 638 B

1234567891011121314151617181920212223
  1. set_directory_properties
  2. ------------------------
  3. Set properties of the current directory and subdirectories.
  4. .. code-block:: cmake
  5. set_directory_properties(PROPERTIES <prop1> <value1> [<prop2> <value2>] ...)
  6. Sets properties of the current directory and its subdirectories in key-value
  7. pairs.
  8. See also the :command:`set_property(DIRECTORY)` command.
  9. See :ref:`Directory Properties` for the list of properties known to CMake
  10. and their individual documentation for the behavior of each property.
  11. See Also
  12. ^^^^^^^^
  13. * :command:`define_property`
  14. * :command:`get_directory_property`
  15. * the more general :command:`set_property` command