浏览代码

Ninja: enable Ninja for CodeBlocks

Peter Kuemmel 13 年之前
父节点
当前提交
b8c3e8c1f1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Source/cmExtraCodeBlocksGenerator.cxx

+ 3 - 0
Source/cmExtraCodeBlocksGenerator.cxx

@@ -59,6 +59,9 @@ cmExtraCodeBlocksGenerator::cmExtraCodeBlocksGenerator()
   this->SupportedGlobalGenerators.push_back("NMake Makefiles");
 // 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");
 }