zig build system: remove vcpkg integration
Instead of vcpkg, users are encouraged to use the Zig package manager to fulfill dependencies on Windows.
This commit is contained in:
@@ -67,7 +67,6 @@ cache_root: Cache.Directory,
|
||||
global_cache_root: Cache.Directory,
|
||||
cache: *Cache,
|
||||
zig_lib_dir: ?LazyPath,
|
||||
vcpkg_root: VcpkgRoot = .unattempted,
|
||||
pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null,
|
||||
args: ?[][]const u8 = null,
|
||||
debug_log_scopes: []const []const u8 = &.{},
|
||||
@@ -841,10 +840,6 @@ pub fn addRunArtifact(b: *Build, exe: *Step.Compile) *Step.Run {
|
||||
run_step.enableTestRunnerMode();
|
||||
}
|
||||
|
||||
if (exe.vcpkg_bin_path) |path| {
|
||||
run_step.addPathDir(path);
|
||||
}
|
||||
|
||||
return run_step;
|
||||
}
|
||||
|
||||
@@ -1978,18 +1973,6 @@ pub fn constructCMacro(allocator: Allocator, name: []const u8, value: ?[]const u
|
||||
return macro;
|
||||
}
|
||||
|
||||
pub const VcpkgRoot = union(VcpkgRootStatus) {
|
||||
unattempted: void,
|
||||
not_found: void,
|
||||
found: []const u8,
|
||||
};
|
||||
|
||||
pub const VcpkgRootStatus = enum {
|
||||
unattempted,
|
||||
not_found,
|
||||
found,
|
||||
};
|
||||
|
||||
pub const InstallDir = union(enum) {
|
||||
prefix: void,
|
||||
lib: void,
|
||||
|
||||
Reference in New Issue
Block a user