Harcode that on windows the gcc toolchain defaults to make instead of

mingw32-make.exe
This commit is contained in:
dt
2009-07-03 19:06:00 +02:00
parent 723d90c51d
commit 4d11487a86
2 changed files with 6 additions and 0 deletions

View File

@@ -127,7 +127,11 @@ void CMakeProject::updateToolChain(const QString &compiler)
//qDebug()<<"CodeBlocks Compilername"<<compiler
ProjectExplorer::ToolChain *newToolChain = 0;
if (compiler == "gcc") {
#ifdef Q_OS_WIN
newToolChain = ProjectExplorer::ToolChain::createMinGWToolChain("gcc", QString());
#else
newToolChain = ProjectExplorer::ToolChain::createGccToolChain("gcc");
#endif
} else if (compiler == "msvc8") {
// TODO MSVC toolchain
newToolChain = ProjectExplorer::ToolChain::createMSVCToolChain(value(activeBuildConfiguration(), "msvcVersion").toString(), false);