mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
BUG: make paths with spaces work in CodeBlocks
-gcc is always gcc and not mingw Alex
This commit is contained in:
@@ -303,14 +303,7 @@ std::string cmExtraCodeBlocksGenerator::GetCBCompilerId(const cmMakefile* mf)
|
||||
}
|
||||
else if (compilerId == "GNU")
|
||||
{
|
||||
if (hostSystemName == "Windows")
|
||||
{
|
||||
compiler = "mingw";
|
||||
}
|
||||
else
|
||||
{
|
||||
compiler = "gcc";
|
||||
}
|
||||
compiler = "gcc";
|
||||
}
|
||||
return compiler;
|
||||
}
|
||||
@@ -348,16 +341,16 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand(
|
||||
std::string command = make;
|
||||
if (strcmp(this->GlobalGenerator->GetName(), "NMake Makefiles")==0)
|
||||
{
|
||||
command += " /NOLOGO /f \\\"";
|
||||
command += " /NOLOGO /f "";
|
||||
command += makefile;
|
||||
command += "\\\" ";
|
||||
command += "" ";
|
||||
command += target;
|
||||
}
|
||||
else
|
||||
{
|
||||
command += " -f ";
|
||||
command += " -f "";
|
||||
command += makefile;
|
||||
command += " ";
|
||||
command += "" ";
|
||||
command += target;
|
||||
}
|
||||
return command;
|
||||
|
||||
Reference in New Issue
Block a user