| 203 | } |
| 204 | |
| 205 | KJob* 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 | |
| 219 | KJob* CMakeBuilder::prune( KDevelop::IProject* project ) |
| 220 | { |
no test coverage detected