| 23 | cmExtraKateGenerator::cmExtraKateGenerator() = default; |
| 24 | |
| 25 | cmExternalMakefileProjectGeneratorFactory* cmExtraKateGenerator::GetFactory() |
| 26 | { |
| 27 | static cmExternalMakefileProjectGeneratorSimpleFactory<cmExtraKateGenerator> |
| 28 | factory("Kate", "Generates Kate project files (deprecated)."); |
| 29 | |
| 30 | if (factory.GetSupportedGlobalGenerators().empty()) { |
| 31 | #if defined(_WIN32) |
| 32 | factory.AddSupportedGlobalGenerator("MinGW Makefiles"); |
| 33 | factory.AddSupportedGlobalGenerator("NMake Makefiles"); |
| 34 | // disable until somebody actually tests it: |
| 35 | // factory.AddSupportedGlobalGenerator("MSYS Makefiles"); |
| 36 | #endif |
| 37 | factory.AddSupportedGlobalGenerator("Ninja"); |
| 38 | factory.AddSupportedGlobalGenerator("Ninja Multi-Config"); |
| 39 | factory.AddSupportedGlobalGenerator("Unix Makefiles"); |
| 40 | } |
| 41 | |
| 42 | return &factory; |
| 43 | } |
| 44 | |
| 45 | void cmExtraKateGenerator::Generate() |
| 46 | { |
nothing calls this directly
no test coverage detected