diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-08 20:59:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-05-08 20:59:27 (GMT) |
commit | 6112e7fc160e611e2b7e299dec5b67dacc3e4c49 (patch) | |
tree | f752adadaab48dcffde487533848ff0e47f2fd6b /Source/cmake.cxx | |
parent | 93f806e5636f7131ddbea40b1567385efc849d73 (diff) | |
download | CMake-6112e7fc160e611e2b7e299dec5b67dacc3e4c49.zip CMake-6112e7fc160e611e2b7e299dec5b67dacc3e4c49.tar.gz CMake-6112e7fc160e611e2b7e299dec5b67dacc3e4c49.tar.bz2 |
add support for vs 71
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 035c80f..813a39d 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -27,6 +27,7 @@ #if defined(_WIN32) && !defined(__CYGWIN__) #include "cmGlobalVisualStudio6Generator.h" #include "cmGlobalVisualStudio7Generator.h" +#include "cmGlobalVisualStudio71Generator.h" #include "cmGlobalBorlandMakefileGenerator.h" #include "cmGlobalNMakeMakefileGenerator.h" #include "cmWin32ProcessExecution.h" @@ -652,6 +653,7 @@ void cmake::GetRegisteredGenerators(std::vector<std::string>& names) #if defined(_WIN32) && !defined(__CYGWIN__) names.push_back(cmGlobalVisualStudio6Generator::GetActualName()); names.push_back(cmGlobalVisualStudio7Generator::GetActualName()); + names.push_back(cmGlobalVisualStudio71Generator::GetActualName()); names.push_back(cmGlobalBorlandMakefileGenerator::GetActualName()); names.push_back(cmGlobalNMakeMakefileGenerator::GetActualName()); #else @@ -681,6 +683,11 @@ cmGlobalGenerator* cmake::CreateGlobalGenerator(const char* name) ret = new cmGlobalVisualStudio7Generator; ret->SetCMakeInstance(this); } + if (!strcmp(name,cmGlobalVisualStudio71Generator::GetActualName())) + { + ret = new cmGlobalVisualStudio71Generator; + ret->SetCMakeInstance(this); + } if (!strcmp(name,cmGlobalBorlandMakefileGenerator::GetActualName())) { ret = new cmGlobalBorlandMakefileGenerator; |