summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.cxx
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-04-07 19:40:17 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-04-07 19:54:57 (GMT)
commitb8c3e8c1f1083ef9f8ece6b1cdb0cbe6dc50c79a (patch)
treec0a67b2b69f6349c5c7f48425f5da6d50f4812d3 /Source/cmExtraCodeBlocksGenerator.cxx
parent11bd9b5588a9ea4922591772e633db5f4ac0862c (diff)
downloadCMake-b8c3e8c1f1083ef9f8ece6b1cdb0cbe6dc50c79a.zip
CMake-b8c3e8c1f1083ef9f8ece6b1cdb0cbe6dc50c79a.tar.gz
CMake-b8c3e8c1f1083ef9f8ece6b1cdb0cbe6dc50c79a.tar.bz2
Ninja: enable Ninja for CodeBlocks
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.cxx')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.cxx b/Source/cmExtraCodeBlocksGenerator.cxx
index ccb17f0..084c904 100644
--- a/Source/cmExtraCodeBlocksGenerator.cxx
+++ b/Source/cmExtraCodeBlocksGenerator.cxx
@@ -60,6 +60,9 @@ cmExtraCodeBlocksGenerator::cmExtraCodeBlocksGenerator()
// disable until somebody actually tests it:
// this->SupportedGlobalGenerators.push_back("MSYS Makefiles");
#endif
+#ifdef CMAKE_USE_NINJA
+ this->SupportedGlobalGenerators.push_back("Ninja");
+#endif
this->SupportedGlobalGenerators.push_back("Unix Makefiles");
}