MCPcopy Create free account
hub / github.com/build-cpp/cmkr / Vcpkg

Class Vcpkg

include/project_parser.hpp:41–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41struct Vcpkg {
42 std::string version;
43 std::string url;
44
45 struct Package {
46 std::string name;
47 std::vector<std::string> features;
48 bool default_features = true;
49 };
50
51 std::vector<Package> packages;
52
53 // https://github.com/Microsoft/vcpkg-docs/blob/main/vcpkg/users/buildsystems/cmake-integration.md
54 std::vector<std::string> overlay_ports;
55 std::vector<std::string> overlay_triplets;
56
57 bool enabled() const {
58 return !packages.empty();
59 }
60};
61
62enum TargetType {
63 target_executable,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected