MCPcopy Create free account
hub / github.com/KDE/kdevelop / supportedGenerators

Function supportedGenerators

plugins/cmake/cmakeutils.cpp:571–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571QStringList 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
589QString defaultGenerator()
590{

Callers 2

defaultGeneratorFunction · 0.85

Calls 2

pluginControllerMethod · 0.80
pluginForExtensionMethod · 0.45

Tested by

no test coverage detected