Fixed projectSetup.sh
This commit is contained in:
parent
b2c91a2607
commit
90336e3246
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
||||||
zig-cache/
|
zig-cache/
|
||||||
.idea/
|
.idea/
|
||||||
|
Project/*
|
||||||
|
|
||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
|
|
@ -11,7 +11,7 @@ echo 'const Builder = @import("std").build.Builder;
|
||||||
|
|
||||||
pub fn build(b: *Builder) void {
|
pub fn build(b: *Builder) void {
|
||||||
const mode = b.standardReleaseOptions();
|
const mode = b.standardReleaseOptions();
|
||||||
const exe = b.addExecutable('"$PROJECT_NAME"', "src/main.zig");
|
const exe = b.addExecutable("'"$PROJECT_NAME"'", "src/main.zig");
|
||||||
exe.setBuildMode(mode);
|
exe.setBuildMode(mode);
|
||||||
exe.linkSystemLibrary("raylib");
|
exe.linkSystemLibrary("raylib");
|
||||||
exe.install();
|
exe.install();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue