MCPcopy Create free account
hub / github.com/Kitware/CMake / UsingDebugInfo

Method UsingDebugInfo

Source/cmVisualStudioGeneratorOptions.cxx:105–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool cmVisualStudioGeneratorOptions::UsingDebugInfo() const
106{
107 if (this->CurrentTool != CSharpCompiler) {
108 return this->FlagMap.find("DebugInformationFormat") != this->FlagMap.end();
109 }
110 auto i = this->FlagMap.find("DebugType");
111 if (i != this->FlagMap.end()) {
112 if (i->second.size() == 1) {
113 return i->second[0] != "none"_s;
114 }
115 }
116 return false;
117}
118
119cm::optional<bool> cmVisualStudioGeneratorOptions::UsingDebugRuntime() const
120{

Callers 3

OutputBuildToolMethod · 0.80
WriteClOptionsMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected