1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
5 #include "cmConfigure.h" // IWYU pragma: keep
12 class cmDependencyProvider
18 FetchContentMakeAvailableSerial,
21 cmDependencyProvider(std::string command, std::vector<Method> methods)
22 : Command(std::move(command))
23 , Methods(std::move(methods))
27 std::string const& GetCommand() const { return this->Command; }
28 std::vector<Method> const& GetMethods() const { return this->Methods; }
29 bool SupportsMethod(Method method) const
31 return std::find(this->Methods.begin(), this->Methods.end(), method) !=
37 std::vector<Method> Methods;