BUG: fix #8203: codeblocks + mingw doesn't like the extra quotes around the

path to the makefile if it contains spaces, under Linux it works with spaces

Alex
This commit is contained in:
Alexander Neundorf 2009-01-09 18:04:20 -05:00
parent 82e7e7fb7d
commit fcc97a4f3c
1 changed files with 7 additions and 0 deletions

View File

@ -418,6 +418,13 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand(
command += "" ";
command += target;
}
else if (strcmp(this->GlobalGenerator->GetName(), "MinGW Makefiles")==0)
{
command += " -f ";
command += makefile;
command += " ";
command += target;
}
else
{
command += " -f "";