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

Function commandsFile

plugins/cmake/cmakeutils.cpp:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249KDevelop::Path commandsFile(KDevelop::IProject* project)
250{
251 auto currentBuildDir = CMake::currentBuildDir(project);
252 if (currentBuildDir.isEmpty()) {
253 return {};
254 }
255
256 return KDevelop::Path(currentBuildDir, QStringLiteral("compile_commands.json"));
257}
258
259KDevelop::Path targetDirectoriesFile(KDevelop::IProject* project)
260{

Callers 2

failedConnectionMethod · 0.85
startMethod · 0.85

Calls 3

currentBuildDirFunction · 0.85
PathClass · 0.70
isEmptyMethod · 0.45

Tested by

no test coverage detected