summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-08 17:59:52 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-01-08 17:59:52 (GMT)
commit829f8382e062466b4163e7a6dd36c6151e3e6b29 (patch)
treea5aa76f3689a723e2214b9d31a1608e208580f39 /Source/cmake.cxx
parent4d6dba4c37928026b577870e93128e55cd16a24f (diff)
downloadCMake-829f8382e062466b4163e7a6dd36c6151e3e6b29.zip
CMake-829f8382e062466b4163e7a6dd36c6151e3e6b29.tar.gz
CMake-829f8382e062466b4163e7a6dd36c6151e3e6b29.tar.bz2
Add option of watching variables
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 5a4fa1f..e6b1fe6 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -21,6 +21,7 @@
#include "cmLocalGenerator.h"
#include "cmCommands.h"
#include "cmCommand.h"
+#include "cmVariableWatch.h"
// include the generator
#if defined(_WIN32) && !defined(__CYGWIN__)
@@ -62,6 +63,7 @@ cmake::cmake()
m_GlobalGenerator = 0;
m_ProgressCallback = 0;
m_ProgressCallbackClientData = 0;
+ m_VariableWatch = new cmVariableWatch;
this->AddDefaultCommands();
}
@@ -79,6 +81,7 @@ cmake::~cmake()
{
delete (*j).second;
}
+ delete m_VariableWatch;
}
bool cmake::CommandExists(const char* name) const