summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-10-18 13:10:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-10-18 13:10:42 (GMT)
commit5c4eadba23a6341c3cd685f68e8c9b77ef186aea (patch)
treeefee0a6bdb9d3141f31cbc5b02ba83fda89a7e26 /Source/cmake.cxx
parent83a3d37ff62d992e702ba29d4c75f44b3edc9343 (diff)
downloadCMake-5c4eadba23a6341c3cd685f68e8c9b77ef186aea.zip
CMake-5c4eadba23a6341c3cd685f68e8c9b77ef186aea.tar.gz
CMake-5c4eadba23a6341c3cd685f68e8c9b77ef186aea.tar.bz2
ENH: add docs for variables
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 6f96bd0..127e3da 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -15,6 +15,7 @@
=========================================================================*/
#include "cmake.h"
+#include "cmDocumentVariables.h"
#include "time.h"
#include "cmCacheManager.h"
#include "cmMakefile.h"
@@ -3081,13 +3082,7 @@ void cmake::DefineProperties(cmake *cm)
// ================================================================
// 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.");
+ cmDocumentVariables::DefineVariables(cm);
}