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 目錄的屬性 for the list of properties known to CMake and their individual documentation for the behavior of each property.

另請參見