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

Method GetFactory

Source/cmExtraEclipseCDT4Generator.cxx:64–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64cmExternalMakefileProjectGeneratorFactory*
65cmExtraEclipseCDT4Generator::GetFactory()
66{
67 static cmExternalMakefileProjectGeneratorSimpleFactory<
68 cmExtraEclipseCDT4Generator>
69 factory("Eclipse CDT4",
70 "Generates Eclipse CDT 4.0 project files (deprecated).");
71
72 if (factory.GetSupportedGlobalGenerators().empty()) {
73// TODO: Verify if __CYGWIN__ should be checked.
74// #if defined(_WIN32) && !defined(__CYGWIN__)
75#if defined(_WIN32)
76 factory.AddSupportedGlobalGenerator("NMake Makefiles");
77 factory.AddSupportedGlobalGenerator("MinGW Makefiles");
78// factory.AddSupportedGlobalGenerator("MSYS Makefiles");
79#endif
80 factory.AddSupportedGlobalGenerator("Ninja");
81 factory.AddSupportedGlobalGenerator("Unix Makefiles");
82 }
83
84 return &factory;
85}
86
87void cmExtraEclipseCDT4Generator::EnableLanguage(
88 std::vector<std::string> const& languages, cmMakefile* /*unused*/,

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45

Tested by

no test coverage detected