summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
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.h
parent4d6dba4c37928026b577870e93128e55cd16a24f (diff)
downloadCMake-829f8382e062466b4163e7a6dd36c6151e3e6b29.zip
CMake-829f8382e062466b4163e7a6dd36c6151e3e6b29.tar.gz
CMake-829f8382e062466b4163e7a6dd36c6151e3e6b29.tar.bz2
Add option of watching variables
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 602f152..d6ecbe5 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -45,6 +45,7 @@ class cmLocalGenerator;
class cmCacheManager;
class cmMakefile;
class cmCommand;
+class cmVariableWatch;
class cmake
{
@@ -227,6 +228,10 @@ class cmake
///! this is called by generators to update the progress
void UpdateProgress(const char *msg, float prog);
+
+ ///! Get the variable watch object
+ cmVariableWatch* GetVariableWatch() { return m_VariableWatch; }
+
protected:
typedef std::map<cmStdString, cmCommand*> RegisteredCommandsMap;
RegisteredCommandsMap m_Commands;
@@ -252,6 +257,8 @@ protected:
*/
int AddCMakePaths(const char *arg0);
+ cmVariableWatch* m_VariableWatch;
+
private:
ProgressCallback m_ProgressCallback;
void* m_ProgressCallbackClientData;