diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-17 09:33:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-19 15:02:33 (GMT) |
commit | e435f875ec926d5080414837c5b7850475e2b45b (patch) | |
tree | b672cbb9c482d4831af9fa4b2edaaa700e3cabf8 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | b5f093f09652d6e7a2bb7a94b5a76e09b664cf68 (diff) | |
download | CMake-e435f875ec926d5080414837c5b7850475e2b45b.zip CMake-e435f875ec926d5080414837c5b7850475e2b45b.tar.gz CMake-e435f875ec926d5080414837c5b7850475e2b45b.tar.bz2 |
VS: Move version information to global generator.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 04bb6ce..d907de4 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -105,6 +105,7 @@ cmGlobalVisualStudio10Generator::cmGlobalVisualStudio10Generator( this->SystemIsWindowsPhone = false; this->SystemIsWindowsStore = false; this->MSBuildCommandInitialized = false; + this->Version = VS10; } //---------------------------------------------------------------------------- @@ -311,8 +312,7 @@ void cmGlobalVisualStudio10Generator::WriteSLNHeader(std::ostream& fout) cmLocalGenerator * cmGlobalVisualStudio10Generator::CreateLocalGenerator(cmLocalGenerator* parent) { - return new cmLocalVisualStudio10Generator( - cmLocalVisualStudioGenerator::VS10, this, parent); + return new cmLocalVisualStudio10Generator(this, parent); } //---------------------------------------------------------------------------- |