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

Method checkConfigureJob

plugins/cmakebuilder/cmakebuilder.cpp:189–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189KJob* CMakeBuilder::checkConfigureJob(KDevelop::IProject* project, bool& valid)
190{
191 valid = false;
192 KJob* configure = nullptr;
193 if( CMake::checkForNeedingConfigure(project) )
194 {
195 configure = this->configure(project);
196 }
197 else if( CMake::currentBuildDir(project).isEmpty() )
198 {
199 return new ErrorJob(this, i18n("No build directory configured, cannot install"));
200 }
201 valid = true;
202 return configure;
203}
204
205KJob* CMakeBuilder::configure( KDevelop::IProject* project )
206{

Callers

nothing calls this directly

Calls 4

configureMethod · 0.95
checkForNeedingConfigureFunction · 0.85
currentBuildDirFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected