summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-07 19:20:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-07 19:20:04 (GMT)
commitb5ab3f0707cae7affa14423012997503825a867c (patch)
tree5c5fbc1abe504f184551d9cf980f591f95db99d0 /Source
parentbb68d60571637edf481df8411999d4a399499f36 (diff)
parent76c44309717adf25ebe5892adc3b4181766868a9 (diff)
downloadCMake-b5ab3f0707cae7affa14423012997503825a867c.zip
CMake-b5ab3f0707cae7affa14423012997503825a867c.tar.gz
CMake-b5ab3f0707cae7affa14423012997503825a867c.tar.bz2
Merge topic 'ninja-codeblocks-gui'
76c4430 Ninja: fix building from Codeblocks GUI
Diffstat (limited to 'Source')
-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);