summaryrefslogtreecommitdiff
path: root/Help/command/set_directory_properties.rst
blob: 834013aab32b7d8f27560970ed3fda904f940149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.