diff options
author | Brad King <brad.king@kitware.com> | 2014-07-22 19:01:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-22 19:05:36 (GMT) |
commit | f5c0efdbe4d67a6f262dd670923674b003af1726 (patch) | |
tree | 0e995e4ac7421e0bbfb764409fd2ef1c349f102a /Source/cmake.cxx | |
parent | 5c38fc1628b66ed405d66848e64f17834079d846 (diff) | |
download | CMake-f5c0efdbe4d67a6f262dd670923674b003af1726.zip CMake-f5c0efdbe4d67a6f262dd670923674b003af1726.tar.gz CMake-f5c0efdbe4d67a6f262dd670923674b003af1726.tar.bz2 |
cmGlobalGenerator: Create a non-virtual 'DoGenerate' method
Make the virtual 'Generate' method protected. Make 'DoGenerate'
the main entry point to generation. This gives cmGlobalGenerator
a chance to do some early operations before the individual
generator-specific implementations take over.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index a051c87..5aa1ab0 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1715,7 +1715,7 @@ int cmake::Generate() { return -1; } - this->GlobalGenerator->Generate(); + this->GlobalGenerator->DoGenerate(); if ( !this->GraphVizFile.empty() ) { std::cout << "Generate graphviz: " << this->GraphVizFile << std::endl; |