diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-25 17:03:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-30 06:28:31 (GMT) |
commit | 5edb3354854bd2de4f9ea0e2c4af4069f46a4830 (patch) | |
tree | e53fccb422a5056fa070010a346a3b97b886034d /Source/cmGlobalVisualStudio8Generator.cxx | |
parent | ff1019bfac1380681989242fa904c2d9fe13fd38 (diff) | |
download | CMake-5edb3354854bd2de4f9ea0e2c4af4069f46a4830.zip CMake-5edb3354854bd2de4f9ea0e2c4af4069f46a4830.tar.gz CMake-5edb3354854bd2de4f9ea0e2c4af4069f46a4830.tar.bz2 |
cmGlobalGenerator: Virtualize the Compute step and override it.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.cxx b/Source/cmGlobalVisualStudio8Generator.cxx index 16e3f9b..d5a5585 100644 --- a/Source/cmGlobalVisualStudio8Generator.cxx +++ b/Source/cmGlobalVisualStudio8Generator.cxx @@ -347,8 +347,13 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget() } //---------------------------------------------------------------------------- -void cmGlobalVisualStudio8Generator::Generate() +bool cmGlobalVisualStudio8Generator::Compute() { + if (!cmGlobalVisualStudio7Generator::Compute()) + { + return false; + } + if(this->AddCheckTarget()) { // All targets depend on the build-system check target. @@ -362,9 +367,7 @@ void cmGlobalVisualStudio8Generator::Generate() } } } - - // Now perform the main generation. - this->cmGlobalVisualStudio7Generator::Generate(); + return true; } //---------------------------------------------------------------------------- |