summaryrefslogtreecommitdiffstats
path: root/Help/command/set_directory_properties.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/command/set_directory_properties.rst')
-rw-r--r--Help/command/set_directory_properties.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Help/command/set_directory_properties.rst b/Help/command/set_directory_properties.rst
new file mode 100644
index 0000000..834013a
--- /dev/null
+++ b/Help/command/set_directory_properties.rst
@@ -0,0 +1,15 @@
+set_directory_properties
+------------------------
+
+Set a property of the directory.
+
+::
+
+ set_directory_properties(PROPERTIES prop1 value1 prop2 value2)
+
+Set a property for the current directory and subdirectories. If the
+property is not found, CMake will report an error. The properties
+include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES,
+INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES.
+ADDITIONAL_MAKE_CLEAN_FILES is a list of files that will be cleaned as
+a part of "make clean" stage.