summaryrefslogtreecommitdiff
path: root/Help/command/set_directory_properties.rst
blob: 93ad39b3b44348ac06cfd979f6dcee0c36a12e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set_directory_properties
------------------------

Set properties of the current directory and subdirectories.

.. code-block:: cmake

  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.

See :ref:`Directory Properties` for the list of properties known to CMake
and their individual documentation for the behavior of each property.

See Also
^^^^^^^^

* :command:`define_property`
* :command:`get_directory_property`
* the more general :command:`set_property` command