diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-03-01 20:20:35 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-03-01 20:20:35 (GMT) |
commit | d49ef18f8a9ebe4e512d67d3fb88958c655beb69 (patch) | |
tree | a40a7a4649f9a7137579c6c22be29846f97d72c3 /Source/cmake.h | |
parent | 32ca01bef0fe4218319d9c9fd02ea11336f5e134 (diff) | |
download | CMake-d49ef18f8a9ebe4e512d67d3fb88958c655beb69.zip CMake-d49ef18f8a9ebe4e512d67d3fb88958c655beb69.tar.gz CMake-d49ef18f8a9ebe4e512d67d3fb88958c655beb69.tar.bz2 |
ENH: add first cut and policies still need to add the doc support
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index e1eda4a..9ed4ddc 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -53,6 +53,7 @@ class cmVariableWatch; class cmFileTimeComparison; class cmExternalMakefileProjectGenerator; class cmDocumentationSection; +class cmPolicies; class cmake { @@ -238,6 +239,8 @@ class cmake ///! this is called by generators to update the progress void UpdateProgress(const char *msg, float prog); + ///! get the cmake policies instance + cmPolicies *GetPolicies() {return this->Policies;} ; ///! Get the variable watch object cmVariableWatch* GetVariableWatch() { return this->VariableWatch; } @@ -358,6 +361,7 @@ protected: void AddExtraGenerator(const char* name, CreateExtraGeneratorFunctionType newFunction); + cmPolicies *Policies; cmGlobalGenerator *GlobalGenerator; cmCacheManager *CacheManager; std::string cmHomeDirectory; |