mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
Format project templates
This commit is contained in:
parent
55937dd8a9
commit
3c33e0469f
@ -50,7 +50,14 @@ pub fn build(b: *std.Build) !void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const exe = b.addExecutable(.{ .name = "$PROJECT_NAME", .root_module = b.createModule(.{ .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target }) });
|
const exe = b.addExecutable(.{
|
||||||
|
.name = "'$PROJECT_NAME'",
|
||||||
|
.root_module = b.createModule(.{
|
||||||
|
.root_source_file = b.path("src/main.zig"),
|
||||||
|
.optimize = optimize,
|
||||||
|
.target = target
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
|
||||||
exe.linkLibrary(raylib_artifact);
|
exe.linkLibrary(raylib_artifact);
|
||||||
exe.root_module.addImport("raylib", raylib);
|
exe.root_module.addImport("raylib", raylib);
|
||||||
|
|||||||
@ -51,7 +51,14 @@ pub fn build(b: *std.Build) !void {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const exe = b.addExecutable(.{ .name = "'$PROJECT_NAME'", .root_module = b.createModule(.{ .root_source_file = b.path("src/main.zig"), .optimize = optimize, .target = target }) });
|
const exe = b.addExecutable(.{
|
||||||
|
.name = "'$PROJECT_NAME'",
|
||||||
|
.root_module = b.createModule(.{
|
||||||
|
.root_source_file = b.path("src/main.zig"),
|
||||||
|
.optimize = optimize,
|
||||||
|
.target = target
|
||||||
|
}),
|
||||||
|
});
|
||||||
|
|
||||||
exe.linkLibrary(raylib_artifact);
|
exe.linkLibrary(raylib_artifact);
|
||||||
exe.root_module.addImport("raylib", raylib);
|
exe.root_module.addImport("raylib", raylib);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user