Merge topic 'ninja-codeblocks-gui'

76c4430 Ninja: fix building from Codeblocks GUI
This commit is contained in:
Brad King 2013-01-07 14:20:04 -05:00 committed by CMake Topic Stage
commit b5ab3f0707
1 changed files with 5 additions and 0 deletions

View File

@ -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);