set_directory_properties.rst 494 B

123456789101112131415
  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.