1
0

set_directory_properties.rst 630 B

12345678910111213141516171819202122
  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 pairs.
  7. See also the :command:`set_property(DIRECTORY)` command.
  8. See :ref:`Directory Properties` for the list of properties known to CMake
  9. and their individual documentation for the behavior of each property.
  10. See Also
  11. ^^^^^^^^
  12. * :command:`define_property`
  13. * :command:`get_directory_property`
  14. * the more general :command:`set_property` command