cmake/Help/command/set_directory_properties.rst

23 lines
630 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
set_directory_properties
------------------------
2019-11-11 23:01:05 +01:00
Set properties of the current directory and subdirectories.
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
.. code-block:: cmake
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
set_directory_properties(PROPERTIES prop1 value1 [prop2 value2] ...)
Sets properties of the current directory and its subdirectories in key-value pairs.
See also the :command:`set_property(DIRECTORY)` command.
2014-08-03 19:52:23 +02:00
2018-10-28 12:09:07 +01:00
See :ref:`Directory Properties` for the list of properties known to CMake
and their individual documentation for the behavior of each property.
2023-05-23 16:38:00 +02:00
See Also
^^^^^^^^
* :command:`define_property`
* :command:`get_directory_property`
* the more general :command:`set_property` command