vv
This commit is contained in:
parent
a2b5325676
commit
84fec5ffb2
1 changed files with 2 additions and 2 deletions
|
|
@ -36,8 +36,8 @@ pub fn build(b: *std.Build) void {
|
|||
},
|
||||
});
|
||||
simdjson_lib.addIncludePath(simdjson_dep.path("singleheader"));
|
||||
simdjson_lib.installHeadersDirectory(simdjson_dep.path("include"), "simdjson", .{});
|
||||
b.installArtifact(simdjson_lib);
|
||||
b.installDirectory(.{ .source_dir = simdjson_dep.path("include"), .install_dir = .{ .custom = "include" }, .install_subdir = "." });
|
||||
|
||||
const fastgltf_lib: *std.Build.Step.Compile = switch (preferred_link_mode) {
|
||||
inline else => |x| switch (x) {
|
||||
|
|
@ -68,8 +68,8 @@ pub fn build(b: *std.Build) void {
|
|||
fastgltf_lib.root_module.addCMacro("FASTGLTF_ENABLE_DEPRECATED_EXT", if (enable_deprecated_ext) "1" else "0");
|
||||
fastgltf_lib.root_module.addCMacro("FASTGLTF_DISABLE_CUSTOM_MEMORY_POOL", if (disable_custom_memory_pool) "1" else "0");
|
||||
fastgltf_lib.root_module.addCMacro("FASTGLTF_USE_64BIT_FLOAT", if (use_64bit_float) "1" else "0");
|
||||
fastgltf_lib.installHeadersDirectory(fastgltf_dep.path("include"), "fastgltf", .{});
|
||||
b.installArtifact(fastgltf_lib);
|
||||
b.installDirectory(.{ .source_dir = fastgltf_dep.path("include"), .install_dir = .{ .custom = "include" }, .install_subdir = "." });
|
||||
|
||||
const example = b.addExecutable(.{
|
||||
.name = "fastgltf-example",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue