summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx19
1 files changed, 16 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 84dc872..d206d32 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3860,9 +3860,22 @@ void cmMakefile::DefineProperties(cmake *cm)
cm->DefineProperty
("INCLUDE_DIRECTORIES", cmProperty::DIRECTORY,
"List of preprocessor include file search directories.",
- "This read-only property specifies the list of directories given "
- "so far to the include_directories command. "
- "It is intended for debugging purposes.", false);
+ "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
("LINK_DIRECTORIES", cmProperty::DIRECTORY,