diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-01-09 23:04:20 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-01-09 23:04:20 (GMT) |
commit | fcc97a4f3c20def4525f8962cb5a0db94dd09bc7 (patch) | |
tree | 828b334a3781657f744b4155e8ea0786578d813a /Source/cmExtraCodeBlocksGenerator.cxx | |
parent | 82e7e7fb7d76c2c66a0e8604ca77f2d5ccb4801e (diff) | |
download | CMake-fcc97a4f3c20def4525f8962cb5a0db94dd09bc7.zip CMake-fcc97a4f3c20def4525f8962cb5a0db94dd09bc7.tar.gz CMake-fcc97a4f3c20def4525f8962cb5a0db94dd09bc7.tar.bz2 |
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
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r-- | Source/cmExtraCodeBlocksGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 ""; |