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

Method configure

plugins/cmakebuilder/cmakebuilder.cpp:205–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205KJob* CMakeBuilder::configure( KDevelop::IProject* project )
206{
207 if( CMake::currentBuildDir( project ).isEmpty() )
208 {
209 return new ErrorJob(this, i18n("No build directory configured, cannot configure"));
210 }
211 auto* job = new CMakeJob(this);
212 job->setProject(project);
213 connect(job, &KJob::result, this, [this, project] {
214 emit configured(project);
215 });
216 return job;
217}
218
219KJob* CMakeBuilder::prune( KDevelop::IProject* project )
220{

Callers 1

checkConfigureJobMethod · 0.95

Calls 3

currentBuildDirFunction · 0.85
isEmptyMethod · 0.45
setProjectMethod · 0.45

Tested by

no test coverage detected