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

Method GetFactory

Source/cmExtraSublimeTextGenerator.cxx:42–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40*/
41
42cmExternalMakefileProjectGeneratorFactory*
43cmExtraSublimeTextGenerator::GetFactory()
44{
45 static cmExternalMakefileProjectGeneratorSimpleFactory<
46 cmExtraSublimeTextGenerator>
47 factory("Sublime Text 2",
48 "Generates Sublime Text 2 project files (deprecated).");
49
50 if (factory.GetSupportedGlobalGenerators().empty()) {
51#if defined(_WIN32)
52 factory.AddSupportedGlobalGenerator("MinGW Makefiles");
53 factory.AddSupportedGlobalGenerator("NMake Makefiles");
54// disable until somebody actually tests it:
55// factory.AddSupportedGlobalGenerator("MSYS Makefiles");
56#endif
57 factory.AddSupportedGlobalGenerator("Ninja");
58 factory.AddSupportedGlobalGenerator("Unix Makefiles");
59 }
60
61 return &factory;
62}
63
64cmExtraSublimeTextGenerator::cmExtraSublimeTextGenerator()
65{

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45

Tested by

no test coverage detected