Ninja: fix building from Codeblocks GUI

Many thx to Chuck Frayman

BUG: 13652
This commit is contained in:
Peter Kümmel 2013-01-05 08:29:58 +01:00
parent 0c1f291a27
commit 76c4430971
1 changed files with 5 additions and 0 deletions

View File

@ -811,6 +811,11 @@ std::string cmExtraCodeBlocksGenerator::BuildMakeCommand(
command += " VERBOSE=1 "; command += " VERBOSE=1 ";
command += target; command += target;
} }
else if (strcmp(this->GlobalGenerator->GetName(), "Ninja")==0)
{
command += " -v ";
command += target;
}
else else
{ {
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile); std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);