ENH: also support nmake and msvc for use with CodeBlocks under Windows,

patch by Daniel Teske

Alex
This commit is contained in:
Alexander Neundorf 2009-06-28 04:30:11 -04:00
parent ee7bcee8e8
commit 42270c86b0
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ cmExtraCodeBlocksGenerator::cmExtraCodeBlocksGenerator()
{ {
#if defined(_WIN32) #if defined(_WIN32)
this->SupportedGlobalGenerators.push_back("MinGW Makefiles"); this->SupportedGlobalGenerators.push_back("MinGW Makefiles");
this->SupportedGlobalGenerators.push_back("NMake Makefiles");
// disable until somebody actually tests it: // disable until somebody actually tests it:
// this->SupportedGlobalGenerators.push_back("NMake Makefiles");
// this->SupportedGlobalGenerators.push_back("MSYS Makefiles"); // this->SupportedGlobalGenerators.push_back("MSYS Makefiles");
#endif #endif
this->SupportedGlobalGenerators.push_back("Unix Makefiles"); this->SupportedGlobalGenerators.push_back("Unix Makefiles");
@ -428,7 +428,7 @@ std::string cmExtraCodeBlocksGenerator::GetCBCompilerId(const cmMakefile* mf)
std::string compiler = "gcc"; std::string compiler = "gcc";
if (compilerId == "MSVC") if (compilerId == "MSVC")
{ {
compiler = "msvc"; compiler = "msvc8";
} }
else if (compilerId == "Borland") else if (compilerId == "Borland")
{ {