| 569 | } |
| 570 | |
| 571 | QStringList supportedGenerators() |
| 572 | { |
| 573 | QStringList generatorNames; |
| 574 | |
| 575 | bool hasNinja = ICore::self() && ICore::self()->pluginController()->pluginForExtension(QStringLiteral("org.kdevelop.IProjectBuilder"), QStringLiteral("KDevNinjaBuilder")); |
| 576 | if (hasNinja) |
| 577 | generatorNames << QStringLiteral("Ninja"); |
| 578 | |
| 579 | #ifdef Q_OS_WIN |
| 580 | // Visual Studio solution is the standard generator under windows, but we don't want to use |
| 581 | // the VS IDE, so we need nmake makefiles |
| 582 | generatorNames << QStringLiteral("NMake Makefiles") << QStringLiteral("MinGW Makefiles"); |
| 583 | #endif |
| 584 | generatorNames << QStringLiteral("Unix Makefiles"); |
| 585 | |
| 586 | return generatorNames; |
| 587 | } |
| 588 | |
| 589 | QString defaultGenerator() |
| 590 | { |
no test coverage detected