25 lines
735 B
Zig
25 lines
735 B
Zig
const std = @import("std");
|
|
const Backlog = @import("Backlog");
|
|
|
|
pub fn build(b: *std.Build) void {
|
|
const target = b.standardTargetOptions(.{});
|
|
const optimize = b.standardOptimizeOption(.{});
|
|
|
|
var buildSystem = Backlog.init(b, .{
|
|
.target = target,
|
|
.optimize = optimize,
|
|
.backlogRoot = "../",
|
|
});
|
|
|
|
const coreTest = buildSystem.addProgram(
|
|
"coreTest",
|
|
);
|
|
coreTest.setIconPath("projects/content/icons/icon.ico");
|
|
coreTest.setModuleEnabled("audio", true);
|
|
coreTest.setModuleEnabled("imgui", true);
|
|
coreTest.setModuleEnabled("net", true);
|
|
coreTest.setModuleEnabled("physics", true);
|
|
coreTest.setModuleEnabled("ui", true);
|
|
_ = coreTest.compileInstall();
|
|
}
|