| 269 | std::string const cmFileSet::propINCLUDE_DIRECTORIES = "INCLUDE_DIRECTORIES"; |
| 270 | |
| 271 | void cmFileSet::SetProperty(std::string const& prop, cmValue value) |
| 272 | { |
| 273 | if (prop == propINCLUDE_DIRECTORIES) { |
| 274 | this->IncludeDirectories.clear(); |
| 275 | if (value) { |
| 276 | cmListFileBacktrace lfbt = this->GetMakefile()->GetBacktrace(); |
| 277 | this->IncludeDirectories.emplace_back(value, lfbt); |
| 278 | } |
| 279 | } else if (prop == propCOMPILE_OPTIONS) { |
| 280 | this->CompileOptions.clear(); |
| 281 | if (value) { |
| 282 | cmListFileBacktrace lfbt = this->GetMakefile()->GetBacktrace(); |
| 283 | this->CompileOptions.emplace_back(value, lfbt); |
| 284 | } |
| 285 | } else if (prop == propCOMPILE_DEFINITIONS) { |
| 286 | this->CompileDefinitions.clear(); |
| 287 | if (value) { |
| 288 | cmListFileBacktrace lfbt = this->GetMakefile()->GetBacktrace(); |
| 289 | this->CompileDefinitions.emplace_back(value, lfbt); |
| 290 | } |
| 291 | } else { |
| 292 | this->Properties.SetProperty(prop, value); |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | void cmFileSet::AppendProperty(std::string const& prop, |
| 297 | std::string const& value, bool asString) |
nothing calls this directly
no test coverage detected