Преглед изворни кода

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");
 }