summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-15 18:50:18 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-15 18:50:18 (GMT)
commitb63ff2fb6f9e73c4d909c4b7fd5d07b25f916ce3 (patch)
tree89ba9f500e1b779e2e07abc40a57aa32b8bc4ff6 /Source/cmake.cxx
parentc8e832dcf5d1477192e19bf521f684c953d7751d (diff)
downloadCMake-b63ff2fb6f9e73c4d909c4b7fd5d07b25f916ce3.zip
CMake-b63ff2fb6f9e73c4d909c4b7fd5d07b25f916ce3.tar.gz
CMake-b63ff2fb6f9e73c4d909c4b7fd5d07b25f916ce3.tar.bz2
ENH: minor doc cleanups and an example of documenting a variable
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index d6dd6a6..6f96bd0 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3076,6 +3076,18 @@ void cmake::DefineProperties(cmake *cm)
"List of packages which were not found during the CMake run.",
"List of packages which were not found during the CMake run. Whether a "
"package has been found is determined using the <NAME>_FOUND variables.");
+
+
+ // ================================================================
+ // define variables as well
+ // ================================================================
+
+ cm->DefineProperty
+ ("CMAKE_COMMAND", cmProperty::VARIABLE,
+ "The full path to the cmake executable.",
+ "This is the full path to the CMake executable cmake which is "
+ "useful from custom commands that want to use the cmake -E "
+ "option for portable system commands.");
}