Initial commit

This commit is contained in:
Robin Voetter
2019-10-13 00:52:35 +02:00
commit e5ca4a90f1
3 changed files with 20 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
zig-cache/

14
build.zig Normal file
View File

@@ -0,0 +1,14 @@
const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const exe = b.addExecutable("vulkan-zig-gen", "generator/main.zig");
exe.setBuildMode(b.standardReleaseOptions());
const run_cmd = exe.run();
const run_step = b.step("run", "");
run_step.dependOn(&run_cmd.step);
b.default_step.dependOn(&exe.step);
b.installArtifact(exe);
}

5
generator/main.zig Normal file
View File

@@ -0,0 +1,5 @@
const std = @import("std");
pub fn main() void {
std.debug.warn("Test\n");
}