# set_directory_properties

Set properties of the current directory and subdirectories.

    set_directory_properties(PROPERTIES prop1 value1 [prop2 value2] ...)

Sets properties of the current directory and its subdirectories in key-value pairs.

See also the `set_property(DIRECTORY)` command.

See Properties on Directories for the list of properties known to CMake and their individual documentation for the behavior of each property.

## See Also

- `define_property()`

- `get_directory_property()`

- the more general `set_property()` command