| 103 | } |
| 104 | |
| 105 | bool 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 | |
| 119 | cm::optional<bool> cmVisualStudioGeneratorOptions::UsingDebugRuntime() const |
| 120 | { |
no test coverage detected