| 313 | } |
| 314 | |
| 315 | void cmStateDirectory::AppendProperty(std::string const& prop, |
| 316 | std::string const& value, bool asString, |
| 317 | cmListFileBacktrace const& lfbt) |
| 318 | { |
| 319 | if (prop == "INCLUDE_DIRECTORIES") { |
| 320 | this->AppendIncludeDirectoriesEntry(BT<std::string>(value, lfbt)); |
| 321 | return; |
| 322 | } |
| 323 | if (prop == "COMPILE_OPTIONS") { |
| 324 | this->AppendCompileOptionsEntry(BT<std::string>(value, lfbt)); |
| 325 | return; |
| 326 | } |
| 327 | if (prop == "COMPILE_DEFINITIONS") { |
| 328 | this->AppendCompileDefinitionsEntry(BT<std::string>(value, lfbt)); |
| 329 | return; |
| 330 | } |
| 331 | if (prop == "LINK_OPTIONS") { |
| 332 | this->AppendLinkOptionsEntry(BT<std::string>(value, lfbt)); |
| 333 | return; |
| 334 | } |
| 335 | if (prop == "LINK_DIRECTORIES") { |
| 336 | this->AppendLinkDirectoriesEntry(BT<std::string>(value, lfbt)); |
| 337 | return; |
| 338 | } |
| 339 | |
| 340 | this->DirectoryState->Properties.AppendProperty(prop, value, asString); |
| 341 | } |
| 342 | |
| 343 | cmValue cmStateDirectory::GetProperty(std::string const& prop) const |
| 344 | { |
nothing calls this directly
no test coverage detected