summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-05-09 21:25:21 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-05-09 21:25:21 (GMT)
commitfdd93f0cbeec45e62b74def16621bdd861dfb56c (patch)
treef37e8cd957b5df0d5b663e04c497353b954c3334 /Source/cmDocumentVariables.cxx
parente0e93a3912a05d91eff4e13bb9e4feb014786ec0 (diff)
downloadCMake-fdd93f0cbeec45e62b74def16621bdd861dfb56c.zip
CMake-fdd93f0cbeec45e62b74def16621bdd861dfb56c.tar.gz
CMake-fdd93f0cbeec45e62b74def16621bdd861dfb56c.tar.bz2
STYLE: document CMAKE_INCLUDE_CURRENT_DIR
Alex
Diffstat (limited to 'Source/cmDocumentVariables.cxx')
-rw-r--r--Source/cmDocumentVariables.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx
index f0af3ea..e94b79f 100644
--- a/Source/cmDocumentVariables.cxx
+++ b/Source/cmDocumentVariables.cxx
@@ -779,6 +779,20 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
// targets.
//
cm->DefineProperty
+ ("CMAKE_INCLUDE_CURRENT_DIR", cmProperty::VARIABLE,
+ "Automatically add the current source- and build directories "
+ "to the include path.",
+ "If this variable is enabled, CMake automatically adds in each "
+ "directory ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} "
+ "to the include path for this directory. These additional include "
+ "directories do not propagate down to subdirectories. This is useful "
+ "mainly for out-of-source builds, where files generated into the "
+ "build tree are included by files located in the source tree.\n"
+ "By default CMAKE_INCLUDE_CURRENT_DIR is OFF.",
+ false,
+ "Variables that Control the Build");
+
+ cm->DefineProperty
("CMAKE_INSTALL_RPATH", cmProperty::VARIABLE,
"The rpath to use for installed targets.",
"A semicolon-separated list specifying the rpath "