MCPcopy Create free account
hub / github.com/Kitware/CMake / GetFactory

Method GetFactory

Source/cmExtraKateGenerator.cxx:25–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23cmExtraKateGenerator::cmExtraKateGenerator() = default;
24
25cmExternalMakefileProjectGeneratorFactory* 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
45void cmExtraKateGenerator::Generate()
46{

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45

Tested by

no test coverage detected