examples: prepare for adding more examples
This commit is contained in:
parent
2496b50b16
commit
9489fe7083
4 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ pub fn build(b: *std.build.Builder) void {
|
||||||
const test_step = b.step("test", "Run library tests");
|
const test_step = b.step("test", "Run library tests");
|
||||||
test_step.dependOn(&main_tests.step);
|
test_step.dependOn(&main_tests.step);
|
||||||
|
|
||||||
const example = b.addExecutable("hello-triangle", "examples/main.zig");
|
const example = b.addExecutable("hello-triangle", "examples/triangle/main.zig");
|
||||||
example.setTarget(target);
|
example.setTarget(target);
|
||||||
example.setBuildMode(mode);
|
example.setBuildMode(mode);
|
||||||
example.addPackage(pkg);
|
example.addPackage(pkg);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue