| 162 | } |
| 163 | |
| 164 | void OutputFlag(std::ostream& /*fout*/, int /*indent*/, |
| 165 | std::string const& tag, std::string const& content) override |
| 166 | { |
| 167 | if (!this->GetConfiguration().empty()) { |
| 168 | // if there are configuration specific flags, then |
| 169 | // use the configuration specific tag for PreprocessorDefinitions |
| 170 | std::string const cond = |
| 171 | this->TargetGenerator->CalcCondition(this->GetConfiguration()); |
| 172 | this->Parent->WritePlatformConfigTag(tag, cond, content); |
| 173 | } else if (!this->SuppressStartupBannerCondition.empty() && |
| 174 | tag == "SuppressStartupBanner"_s) { |
| 175 | this->Parent->WritePlatformConfigTag( |
| 176 | tag, this->SuppressStartupBannerCondition, content); |
| 177 | } else { |
| 178 | this->Parent->Element(tag, content); |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | std::string SuppressStartupBannerCondition; |
| 183 |
nothing calls this directly
no test coverage detected