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

Method GetFactory

Source/cmExtraCodeBlocksGenerator.cxx:44–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45

Tested by

no test coverage detected