| 350 | } |
| 351 | |
| 352 | std::string BuildDefinition(std::string const& name, Json::Value const& value) |
| 353 | { |
| 354 | if (!value.isNull() && value.isConvertibleTo(Json::stringValue)) { |
| 355 | return cmStrCat(name, '=', value.asString()); |
| 356 | } |
| 357 | return name; |
| 358 | } |
| 359 | |
| 360 | void AddDefinition(cmMakefile* makefile, cmTarget* target, |
| 361 | cm::string_view configuration, |
no test coverage detected
searching dependent graphs…