| 2040 | |
| 2041 | #ifndef CMAKE_BOOTSTRAP |
| 2042 | cm::optional<cm::string_view> MatchExport(cm::string_view directive, |
| 2043 | std::string const& exportName) |
| 2044 | { |
| 2045 | std::string::size_type const l = exportName.size(); |
| 2046 | if (directive.substr(0, l) == exportName) { |
| 2047 | if (directive.size() > l && directive[l] == ':') { |
| 2048 | return directive.substr(l + 1); |
| 2049 | } |
| 2050 | } |
| 2051 | return cm::nullopt; |
| 2052 | } |
| 2053 | |
| 2054 | void AssignValue(std::string& dest, std::string const& value) |
| 2055 | { |
no test coverage detected
searching dependent graphs…