12 lines
388 B
Zig
12 lines
388 B
Zig
|
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();
|
||
|
}
|