| 124 | } |
| 125 | |
| 126 | void start() override { |
| 127 | if (CMake::FileApi::supported(CMake::currentCMakeExecutable(project).toLocalFile())) { |
| 128 | qCDebug(CMAKE) << "Using cmake-file-api for import of" << project->path(); |
| 129 | |
| 130 | // try to import the data directly, if possible and not outdated |
| 131 | if (forceConfigure) { |
| 132 | reconfigureThenImport(); |
| 133 | } else { |
| 134 | tryDirectImport(); |
| 135 | } |
| 136 | ExecuteCompositeJob::start(); |
| 137 | } else { |
| 138 | tryCMakeServer(); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | private: |
| 143 | void tryCMakeServer() |
no test coverage detected