From 76c44309717adf25ebe5892adc3b4181766868a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sat, 5 Jan 2013 08:29:58 +0100 Subject: [PATCH] Ninja: fix building from Codeblocks GUI Many thx to Chuck Frayman BUG: 13652 --- Source/cmExtraCodeBlocksGenerator.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx index 25b13e52e..0cf9cbbf2 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);