mirror of
https://github.com/RGBCube/ZTerm
synced 2025-07-28 08:27:45 +00:00
15 lines
410 B
Zig
15 lines
410 B
Zig
const std = @import("std");
|
|
|
|
pub fn build(b: *std.build.Builder) void {
|
|
const mode = b.standardReleaseOptions();
|
|
|
|
const lib = b.addStaticLibrary("zterm", "zterm.zig");
|
|
lib.setBuildMode(mode);
|
|
lib.install();
|
|
|
|
const main_tests = b.addTest("zterm.zig");
|
|
main_tests.setBuildMode(mode);
|
|
|
|
const test_step = b.step("test", "Run library tests");
|
|
test_step.dependOn(&main_tests.step);
|
|
}
|