| 164 | } |
| 165 | |
| 166 | void Meson::BuildDir::canonicalizePaths() |
| 167 | { |
| 168 | for (auto* i : { &buildDir }) { |
| 169 | // canonicalFilePath checks if the file / directory exists and returns "" if it doesn't. |
| 170 | QString tmp = QFileInfo(i->toLocalFile()).canonicalFilePath(); |
| 171 | if (!tmp.isEmpty()) { |
| 172 | *i = Path(tmp); |
| 173 | } |
| 174 | } |
| 175 | } |
no test coverage detected