2022-01-23 00:28:12 +00:00
|
|
|
const std = @import("std");
|
|
|
|
const CrossTarget = std.zig.CrossTarget;
|
|
|
|
|
|
|
|
pub fn build(b: *std.build.Builder) void {
|
2022-01-23 12:37:04 +00:00
|
|
|
const target = CrossTarget{ .os_tag = .windows, .cpu_arch = .i386, .abi = .msvc };
|
|
|
|
const lib = b.addSharedLibrary("chuniio_tasoller", "src/main.zig", .unversioned);
|
|
|
|
lib.setTarget(target);
|
2022-01-23 00:28:12 +00:00
|
|
|
lib.install();
|
2022-01-23 12:37:04 +00:00
|
|
|
const exe = b.addExecutable("tasoller_test", "src/main.zig");
|
|
|
|
exe.setTarget(target);
|
|
|
|
exe.install();
|
2022-01-23 00:28:12 +00:00
|
|
|
}
|