summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-05-08 20:59:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-05-08 20:59:27 (GMT)
commit6112e7fc160e611e2b7e299dec5b67dacc3e4c49 (patch)
treef752adadaab48dcffde487533848ff0e47f2fd6b /Source/cmake.cxx
parent93f806e5636f7131ddbea40b1567385efc849d73 (diff)
downloadCMake-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.cxx7
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;