diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-08 17:59:52 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-01-08 17:59:52 (GMT) |
commit | 829f8382e062466b4163e7a6dd36c6151e3e6b29 (patch) | |
tree | a5aa76f3689a723e2214b9d31a1608e208580f39 /Source/cmake.h | |
parent | 4d6dba4c37928026b577870e93128e55cd16a24f (diff) | |
download | CMake-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.h | 7 |
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; |