chuniio-tasoller/build.zig

12 lines
388 B
Zig
Raw Normal View History

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 {
const lib = b.addStaticLibrary("chuniio_tasoller", "src/main.zig");
lib.setTarget(CrossTarget{ .os_tag = .windows, .cpu_arch = .i386, .abi = .msvc });
lib.addIncludeDir("include");
lib.addLibPath("lib");
lib.linkSystemLibrary("usb");
lib.install();
}