| 62 | } |
| 63 | |
| 64 | cmExternalMakefileProjectGeneratorFactory* |
| 65 | cmExtraEclipseCDT4Generator::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 | |
| 87 | void cmExtraEclipseCDT4Generator::EnableLanguage( |
| 88 | std::vector<std::string> const& languages, cmMakefile* /*unused*/, |
nothing calls this directly
no test coverage detected