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

Function writeBuildDirParameter

plugins/cmake/cmakeutils.cpp:66–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void writeBuildDirParameter(KDevelop::IProject* project, const char* key, const QString& value)
67{
68 int buildDirIndex = CMake::currentBuildDirIndex(project);
69 if (buildDirIndex >= 0)
70 {
71 KConfigGroup buildDirGrp = buildDirGroup( project, buildDirIndex );
72 buildDirGrp.writeEntry( key, value );
73 }
74
75 else
76 {
77 qCWarning(CMAKE) << "cannot write key" << key << "(" << value << ")" << "when no builddir is set!";
78 }
79}
80
81template <typename Key>
82void writeProjectBaseParameter(KDevelop::IProject* project, const Key& key, const QString& value)

Callers 7

setBuildDirRuntimeFunction · 0.85
setCurrentInstallDirFunction · 0.85
setCurrentBuildTypeFunction · 0.85
setCurrentBuildDirFunction · 0.85
setCurrentExtraArgumentsFunction · 0.85
setCurrentEnvironmentFunction · 0.85

Calls 3

currentBuildDirIndexFunction · 0.85
buildDirGroupFunction · 0.85
writeEntryMethod · 0.80

Tested by

no test coverage detected