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

Method builtUrl

plugins/cmake/cmakemodelitems.cpp:16–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14{}
15
16QUrl 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
29QUrl CMakeTargetItem::installedUrl() const
30{

Callers 5

canLaunchMethod · 0.45
executableMethod · 0.45

Calls 8

currentBuildDirFunction · 0.85
parentFunction · 0.85
relativePathMethod · 0.80
QUrlClass · 0.70
PathClass · 0.70
isEmptyMethod · 0.45
toUrlMethod · 0.45
pathMethod · 0.45

Tested by 1