summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.cxx
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2013-01-05 07:29:58 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2013-01-05 07:29:58 (GMT)
commit76c44309717adf25ebe5892adc3b4181766868a9 (patch)
tree1738e0545bd5642bb9b9fc683623c5bff6152110 /Source/cmExtraCodeBlocksGenerator.cxx
parent0c1f291a27e3916a62c66d48b37b21e0e5d3ce6e (diff)
downloadCMake-76c44309717adf25ebe5892adc3b4181766868a9.zip
CMake-76c44309717adf25ebe5892adc3b4181766868a9.tar.gz
CMake-76c44309717adf25ebe5892adc3b4181766868a9.tar.bz2
Ninja: fix building from Codeblocks GUI
Many thx to Chuck Frayman BUG: 13652
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index 25b13e5..0cf9cbb 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -811,6 +811,11 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand(
command += " VERBOSE=1 ";
command += target;
}
+ else if (strcmp(this->GlobalGenerator->GetName(), "Ninja")==0)
+ {
+ command += " -v ";
+ command += target;
+ }
else
{
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);