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

Method start

plugins/compileanalyzercommon/compileanalyzejob.cpp:105–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void CompileAnalyzeJob::start()
106{
107 // TODO: check success of creation
108 generateMakefile();
109
110 *this << QStringList{
111 QStringLiteral("make"),
112 QStringLiteral("-j"),
113 QString::number(m_parallelJobCount),
114 QStringLiteral("-k"), // keep-going
115 QStringLiteral("-f"),
116 m_makeFilePath,
117 };
118
119 qCDebug(KDEV_COMPILEANALYZER) << "executing:" << commandLine().join(QLatin1Char(' '));
120
121 m_finishedCount = 0;
122 m_totalCount = m_sources.size();
123
124 setPercent(0);
125
126 KDevelop::OutputExecuteJob::start();
127}
128
129void CompileAnalyzeJob::parseProgress(const QStringList& lines)
130{

Callers 9

determineJumpLocMethod · 0.45
eventFilterMethod · 0.45
textHintMethod · 0.45
updateReadyMethod · 0.45
selectionChangedMethod · 0.45
cursorPositionChangedMethod · 0.45
switchUseMethod · 0.45

Calls 3

joinMethod · 0.80
startFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected