| 243 | } |
| 244 | |
| 245 | void AppendProperty(cmMakefile* makefile, cmTarget* target, |
| 246 | cm::string_view property, cm::string_view configuration, |
| 247 | std::string const& value) |
| 248 | { |
| 249 | std::string const fullprop = cmStrCat("INTERFACE_", property); |
| 250 | if (!configuration.empty()) { |
| 251 | std::string const genexValue = |
| 252 | cmStrCat("$<$<CONFIG:", configuration, ">:", value, '>'); |
| 253 | target->AppendProperty(fullprop, genexValue, makefile->GetBacktrace()); |
| 254 | } else { |
| 255 | target->AppendProperty(fullprop, value, makefile->GetBacktrace()); |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | void AppendImportProperty(cmMakefile* makefile, cmTarget* target, |
| 260 | cm::string_view property, |
no test coverage detected
searching dependent graphs…