| 2569 | } |
| 2570 | |
| 2571 | void cmTarget::CheckProperty(std::string const& prop, |
| 2572 | cmMakefile* context) const |
| 2573 | { |
| 2574 | // Certain properties need checking. |
| 2575 | if (cmHasLiteralPrefix(prop, "LINK_INTERFACE_LIBRARIES")) { |
| 2576 | if (cmValue value = this->GetProperty(prop)) { |
| 2577 | CheckLINK_INTERFACE_LIBRARIES(prop, *value, context, false); |
| 2578 | } |
| 2579 | } else if (cmHasLiteralPrefix(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES")) { |
| 2580 | if (cmValue value = this->GetProperty(prop)) { |
| 2581 | CheckLINK_INTERFACE_LIBRARIES(prop, *value, context, true); |
| 2582 | } |
| 2583 | } else if (prop == "INTERFACE_LINK_LIBRARIES") { |
| 2584 | if (cmValue value = this->GetProperty(prop)) { |
| 2585 | CheckINTERFACE_LINK_LIBRARIES(*value, context); |
| 2586 | } |
| 2587 | } else if (prop == "IMPORTED_GLOBAL") { |
| 2588 | if (this->IsImported()) { |
| 2589 | CheckIMPORTED_GLOBAL(this, context); |
| 2590 | } |
| 2591 | } |
| 2592 | } |
| 2593 | |
| 2594 | cmValue cmTarget::GetComputedProperty(std::string const& prop, |
| 2595 | cmMakefile& mf) const |
no test coverage detected