| 42 | cmExtraCodeBlocksGenerator::cmExtraCodeBlocksGenerator() = default; |
| 43 | |
| 44 | cmExternalMakefileProjectGeneratorFactory* |
| 45 | cmExtraCodeBlocksGenerator::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 | |
| 66 | void cmExtraCodeBlocksGenerator::Generate() |
| 67 | { |
nothing calls this directly
no test coverage detected