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

Function defaultGenerator

plugins/cmake/cmakeutils.cpp:589–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587}
588
589QString defaultGenerator()
590{
591 const QStringList generatorNames = supportedGenerators();
592
593 QString defGen = generatorNames.value(CMakeBuilderSettings::self()->generator());
594 if (defGen.isEmpty())
595 {
596 qCWarning(CMAKE) << "Couldn't find builder with index " << CMakeBuilderSettings::self()->generator()
597 << ", defaulting to 0";
598 CMakeBuilderSettings::self()->setGenerator(0);
599 defGen = generatorNames.at(0);
600 }
601 return defGen;
602}
603
604QVector<CMakeTest> importTestSuites(const Path &buildDir, const QString &cmakeTestFileName)
605{

Callers 3

builderForProjectMethod · 0.85
commandLineMethod · 0.85
handshakeMethod · 0.85

Calls 4

supportedGeneratorsFunction · 0.85
valueMethod · 0.45
isEmptyMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected