diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2013-01-05 07:29:58 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2013-01-05 07:29:58 (GMT) |
commit | 76c44309717adf25ebe5892adc3b4181766868a9 (patch) | |
tree | 1738e0545bd5642bb9b9fc683623c5bff6152110 /Source/cmExtraCodeBlocksGenerator.cxx | |
parent | 0c1f291a27e3916a62c66d48b37b21e0e5d3ce6e (diff) | |
download | CMake-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.cxx | 5 |
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); |