diff options
author | Brad King <brad.king@kitware.com> | 2013-01-07 19:20:04 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-07 19:20:04 (GMT) |
commit | b5ab3f0707cae7affa14423012997503825a867c (patch) | |
tree | 5c5fbc1abe504f184551d9cf980f591f95db99d0 /Source | |
parent | bb68d60571637edf481df8411999d4a399499f36 (diff) | |
parent | 76c44309717adf25ebe5892adc3b4181766868a9 (diff) | |
download | CMake-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.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); |