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.cxx | |
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.cxx')
-rw-r--r-- | Source/cmake.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index af13d3a..80b0dfe 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -143,6 +143,8 @@ cmake::cmake() this->ClearBuildSystem = false; this->FileComparison = new cmFileTimeComparison; + this->Policies = new cmPolicies(); + this->Properties.SetCMakeInstance(this); // initialize properties @@ -181,7 +183,7 @@ cmake::cmake() this->ProgressCallback = 0; this->ProgressCallbackClientData = 0; this->ScriptMode = false; - + #ifdef CMAKE_BUILD_WITH_CMAKE this->VariableWatch = new cmVariableWatch; this->VariableWatch->AddWatch("CMAKE_WORDS_BIGENDIAN", @@ -203,6 +205,7 @@ cmake::cmake() cmake::~cmake() { delete this->CacheManager; + delete this->Policies; if (this->GlobalGenerator) { delete this->GlobalGenerator; |