Просмотр исходного кода

Ninja: enable Ninja for CodeBlocks

Peter Kuemmel 13 лет назад
Родитель
Сommit
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");
 }