mirror of
https://git.xeondev.com/LR/C.git
synced 2026-02-04 07:05:04 +01:00
Release 1.0.14
This commit is contained in:
20
build.zig
Normal file
20
build.zig
Normal file
@@ -0,0 +1,20 @@
|
||||
const std = @import("std");
|
||||
|
||||
pub fn build(b: *std.Build) void {
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
const target = b.standardTargetOptions(
|
||||
.{ .default_target = .{ .os_tag = .windows } },
|
||||
);
|
||||
|
||||
const dll = b.addLibrary(.{
|
||||
.name = "gfsdk",
|
||||
.linkage = .dynamic,
|
||||
.root_module = b.createModule(.{
|
||||
.root_source_file = b.path("src/root.zig"),
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
}),
|
||||
});
|
||||
|
||||
b.installArtifact(dll);
|
||||
}
|
||||
Reference in New Issue
Block a user