| 14 | {} |
| 15 | |
| 16 | QUrl CMakeTargetItem::builtUrl() const |
| 17 | { |
| 18 | if (!m_builtUrl.isEmpty()) |
| 19 | return m_builtUrl.toUrl(); |
| 20 | |
| 21 | const KDevelop::Path buildDir = CMake::currentBuildDir(project()); |
| 22 | if (buildDir.isEmpty()) |
| 23 | return QUrl(); |
| 24 | |
| 25 | QString p = project()->path().relativePath(parent()->path()); |
| 26 | return KDevelop::Path(KDevelop::Path(buildDir, p), text()).toUrl(); |
| 27 | } |
| 28 | |
| 29 | QUrl CMakeTargetItem::installedUrl() const |
| 30 | { |