mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
22 lines
527 B
Zig
22 lines
527 B
Zig
const std = @import("std");
|
|
|
|
pub fn build(b: *std.build.Builder) void {
|
|
const mode = b.standardReleaseOptions();
|
|
|
|
const test_step = b.step("test", "Run library tests");
|
|
|
|
const test_ = b.addTest("all.zig");
|
|
|
|
test_.setBuildMode(mode);
|
|
test_.linkLibC();
|
|
test_.linkSystemLibraryName("unwind");
|
|
test_.linkSystemLibraryName("concrete_cpu");
|
|
test_.addLibraryPath("../target/debug");
|
|
|
|
test_.addIncludePath("../include");
|
|
|
|
test_.linkFramework("Security");
|
|
|
|
test_step.dependOn(&test_.step);
|
|
}
|