Added source files
This commit is contained in:
parent
ec0affaf35
commit
052b93924a
5 changed files with 150 additions and 2 deletions
18
build.zig
Normal file
18
build.zig
Normal file
|
@ -0,0 +1,18 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn build(b: *std.Build) void {
|
||||
const target = b.standardTargetOptions(.{});
|
||||
//const optimize = b.standardOptimizeOption(.{});
|
||||
const optimize = std.builtin.OptimizeMode.ReleaseSafe;
|
||||
|
||||
const exe = b.addExecutable(.{
|
||||
.name = "lister",
|
||||
.root_source_file = b.path("src/main.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
||||
b.installArtifact(exe);
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue