glfw: add build-system TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5db4ac5bb5
commit
6c93a9d5a4
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ fn buildLibrary(b: *Builder, step: *std.build.LibExeObjStep, options: Options) *
|
||||||
lib.setBuildMode(step.build_mode);
|
lib.setBuildMode(step.build_mode);
|
||||||
lib.setTarget(step.target);
|
lib.setTarget(step.target);
|
||||||
|
|
||||||
|
// TODO(build-system): pass system SDK options through
|
||||||
system_sdk.include(b, step, .{});
|
system_sdk.include(b, step, .{});
|
||||||
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target;
|
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target;
|
||||||
switch (target.os.tag) {
|
switch (target.os.tag) {
|
||||||
|
|
@ -195,6 +196,7 @@ fn linkGLFWDependencies(b: *Builder, step: *std.build.LibExeObjStep, options: Op
|
||||||
step.addIncludeDir(vulkan_include_dir);
|
step.addIncludeDir(vulkan_include_dir);
|
||||||
|
|
||||||
step.linkLibC();
|
step.linkLibC();
|
||||||
|
// TODO(build-system): pass system SDK options through
|
||||||
system_sdk.include(b, step, .{});
|
system_sdk.include(b, step, .{});
|
||||||
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target;
|
const target = (std.zig.system.NativeTargetInfo.detect(b.allocator, step.target) catch unreachable).target;
|
||||||
switch (target.os.tag) {
|
switch (target.os.tag) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue