const std = @import("std"); const CrossTarget = std.zig.CrossTarget; pub fn build(b: *std.build.Builder) void { const lib86 = b.addSharedLibrary("chuniio_tasoller", "src/main.zig", .unversioned); lib86.setBuildMode(b.standardReleaseOptions()); lib86.setTarget(CrossTarget{ .os_tag = .windows, .cpu_arch = .i386, .abi = .msvc }); lib86.install(); const lib64 = b.addSharedLibrary("chuniio_tasoller_x64", "src/main.zig", .unversioned); lib64.setBuildMode(b.standardReleaseOptions()); lib64.setTarget(CrossTarget{ .os_tag = .windows, .cpu_arch = .x86_64, .abi = .msvc }); lib64.install(); // const exe = b.addExecutable("tasoller_test", "src/main.zig"); // lib.setBuildMode(b.standardReleaseOptions()); // exe.setTarget(target); // exe.install(); }