diff options
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; |