| 2531 | } |
| 2532 | |
| 2533 | void CheckINTERFACE_LINK_LIBRARIES(std::string const& value, |
| 2534 | cmMakefile* context) |
| 2535 | { |
| 2536 | // Look for link-type keywords in the value. |
| 2537 | static cmsys::RegularExpression keys("(^|;)(debug|optimized|general)(;|$)"); |
| 2538 | if (keys.find(value)) { |
| 2539 | // Report an error. |
| 2540 | std::ostringstream e; |
| 2541 | |
| 2542 | e << "Property INTERFACE_LINK_LIBRARIES may not contain link-type " |
| 2543 | "keyword \"" |
| 2544 | << keys.match(2) |
| 2545 | << "\". The INTERFACE_LINK_LIBRARIES " |
| 2546 | "property may contain configuration-sensitive generator-expressions " |
| 2547 | "which may be used to specify per-configuration rules."; |
| 2548 | |
| 2549 | context->IssueMessage(MessageType::FATAL_ERROR, e.str()); |
| 2550 | } |
| 2551 | } |
| 2552 | |
| 2553 | void CheckIMPORTED_GLOBAL(cmTarget const* target, cmMakefile* context) |
| 2554 | { |
no test coverage detected
searching dependent graphs…