1const zig = import "../../buildzig.rv"
2
3zig.configure({
4 optimize = "safe",
5 source_dirs = {"src"},
6})
7
8const arithmetic = zig.module({root = "src/arithmetic.zig"})
9const app = zig.executable("calculator", {
10 root = "src/main.zig",
11 imports = {arithmetic = arithmetic},
12})
13
14zig.build({app})