This repository has been archived on 2023-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
boxflow/build.zig
2023-04-28 14:12:16 +02:00

20 lines
530 B
Zig

const std = @import("std");
pub fn build(b: *std.build.Builder) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
_ = b.addModule("boxflow", .{
.source_file = .{ .path = "src/main.zig" },
});
const main_tests = b.addTest(.{
.root_source_file = .{ .path = "src/main.zig" },
.target = target,
.optimize = optimize,
});
const test_step = b.step("test", "Run library tests");
test_step.dependOn(&main_tests.step);
}