| 40 | */ |
| 41 | |
| 42 | cmExternalMakefileProjectGeneratorFactory* |
| 43 | cmExtraSublimeTextGenerator::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 | |
| 64 | cmExtraSublimeTextGenerator::cmExtraSublimeTextGenerator() |
| 65 | { |
nothing calls this directly
no test coverage detected