From 42270c86b0efe67d1f55cc2f362d02be40d60b06 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 28 Jun 2009 04:30:11 -0400 Subject: [PATCH] ENH: also support nmake and msvc for use with CodeBlocks under Windows, patch by Daniel Teske Alex --- Source/cmExtraCodeBlocksGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index b51733566..772f065f8 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -61,8 +61,8 @@ cmExtraCodeBlocksGenerator::cmExtraCodeBlocksGenerator() { #if defined(_WIN32) this->SupportedGlobalGenerators.push_back("MinGW Makefiles"); + this->SupportedGlobalGenerators.push_back("NMake Makefiles"); // disable until somebody actually tests it: -// this->SupportedGlobalGenerators.push_back("NMake Makefiles"); // this->SupportedGlobalGenerators.push_back("MSYS Makefiles"); #endif this->SupportedGlobalGenerators.push_back("Unix Makefiles"); @@ -428,7 +428,7 @@ std::string cmExtraCodeBlocksGenerator::GetCBCompilerId(const cmMakefile* mf) std::string compiler = "gcc"; if (compilerId == "MSVC") { - compiler = "msvc"; + compiler = "msvc8"; } else if (compilerId == "Borland") {