Cleanup last parts of build.zig
This commit is contained in:
parent
98a40d736d
commit
0a6a2603a8
1 changed files with 82 additions and 112 deletions
|
|
@ -19,9 +19,6 @@ pub fn build(b: *std.Build) !void {
|
|||
}
|
||||
}
|
||||
|
||||
const options = b.addOptions();
|
||||
options.addOption(rl.PlatformBackend, "platform", platform);
|
||||
|
||||
const exe_mod = b.createModule(.{
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
|
|
@ -66,6 +63,7 @@ pub fn build(b: *std.Build) !void {
|
|||
const exe = b.addExecutable(.{
|
||||
.name = "core_basic_window",
|
||||
.root_module = exe_mod,
|
||||
.use_lld = target.result.os.tag == .windows,
|
||||
});
|
||||
b.installArtifact(exe);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue