summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-02-22 19:30:00 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-02-22 20:22:03 (GMT)
commit8233636dbe531ccf36510242e7c997dfa6529bde (patch)
tree217b3e29bf4f2faec33568bbc73fdab4c7155cbb /Source/cmTarget.cxx
parentd899eb71b52616c9e3f3f5987f229619605e632b (diff)
downloadCMake-8233636dbe531ccf36510242e7c997dfa6529bde.zip
CMake-8233636dbe531ccf36510242e7c997dfa6529bde.tar.gz
CMake-8233636dbe531ccf36510242e7c997dfa6529bde.tar.bz2
Update the documentation regarding INCLUDE_DIRECTORIES.
It is now a target property and is affected by the use of the include_directories command.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index cd816a6..e618bee 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -486,6 +486,26 @@ void cmTarget::DefineProperties(cmake *cm)
"undefined behavior.");
cm->DefineProperty
+ ("INCLUDE_DIRECTORIES", cmProperty::TARGET,
+ "List of preprocessor include file search directories.",
+ "This property specifies the list of directories given "
+ "so far to the include_directories command. "
+ "This property exists on directories and targets. "
+ "In addition to accepting values from the include_directories "
+ "command, values may be set directly on any directory or any "
+ "target using the set_property command. "
+ "A target gets its initial value for this property from the value "
+ "of the directory property. "
+ "A directory gets its initial value from its parent directory if "
+ "it has one. "
+ "Both directory and target property values are adjusted by calls "
+ "to the include_directories command."
+ "\n"
+ "The target property values are used by the generators to set "
+ "the include paths for the compiler. "
+ "See also the include_directories command.");
+
+ cm->DefineProperty
("INSTALL_NAME_DIR", cmProperty::TARGET,
"Mac OSX directory name for installed targets.",
"INSTALL_NAME_DIR is a string specifying the "