forked from mirror/vulkan-zig
Initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
zig-cache/
|
||||
14
build.zig
Normal file
14
build.zig
Normal 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
5
generator/main.zig
Normal file
@@ -0,0 +1,5 @@
|
||||
const std = @import("std");
|
||||
|
||||
pub fn main() void {
|
||||
std.debug.warn("Test\n");
|
||||
}
|
||||
Reference in New Issue
Block a user