| 95 | struct Arguments : public ArgumentParser::ParseResult |
| 96 | { |
| 97 | ArgumentParser::Continue validateTypeValue(cm::string_view type) |
| 98 | { |
| 99 | if (!cmState::StringToCacheEntryType(std::string{ type }, |
| 100 | this->Type)) { |
| 101 | this->AddKeywordError( |
| 102 | "TYPE"_s, cmStrCat(" invalid value: \""_s, type, "\"\n"_s)); |
| 103 | } |
| 104 | return ArgumentParser::Continue::No; |
| 105 | } |
| 106 | cmStateEnums::CacheEntryType Type = cmStateEnums::UNINITIALIZED; |
| 107 | cm::optional<ArgumentParser::NonEmpty<std::vector<std::string>>> Help; |
| 108 | bool Force = false; |
nothing calls this directly
no test coverage detected