summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-06-28 08:30:11 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-06-28 08:30:11 (GMT)
commit42270c86b0efe67d1f55cc2f362d02be40d60b06 (patch)
treec251d404c31e69ee33f35142ae863f53f86febc4 /Source/cmExtraCodeBlocksGenerator.cxx
parentee7bcee8e838071025d30dcdcc97e5108513b929 (diff)
downloadCMake-42270c86b0efe67d1f55cc2f362d02be40d60b06.zip
CMake-42270c86b0efe67d1f55cc2f362d02be40d60b06.tar.gz
CMake-42270c86b0efe67d1f55cc2f362d02be40d60b06.tar.bz2
ENH: also support nmake and msvc for use with CodeBlocks under Windows,
patch by Daniel Teske Alex
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index b517335..772f065 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")
{