From fcc97a4f3c20def4525f8962cb5a0db94dd09bc7 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 9 Jan 2009 18:04:20 -0500 Subject: 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 --- Source/cmExtraCodeBlocksGenerator.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index 9995b51..a84b28d 100644 --- a/Source/cmExtraCodeBlocksGenerator.cxx +++ b/Source/cmExtraCodeBlocksGenerator.cxx @@ -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 ""; -- cgit v0.12