- Notifications
You must be signed in to change notification settings - Fork7
System libraries and headers for cross-compiling zig-gamedev libs & sample apps
License
NotificationsYou must be signed in to change notification settings
zig-gamedev/system_sdk
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
System libraries and headers for cross-compilingzig-gamedev libs and sample applications.
build.zig
switch (target.result.os.tag) {.windows=> {if (target.result.cpu.arch.isX86()) {if (target.result.abi.isGnu()ortarget.result.abi.isMusl()) {if (b.lazyDependency("system_sdk", .{}))|system_sdk| {compile_step.addLibraryPath(system_sdk.path("windows/lib/x86_64-windows-gnu")); } } } },.macos=> {if (b.lazyDependency("system_sdk", .{}))|system_sdk| {compile_step.addLibraryPath(system_sdk.path("macos12/usr/lib"));compile_step.addFrameworkPath(system_sdk.path("macos12/System/Library/Frameworks")); } },.linux=> {if (target.result.cpu.arch.isX86()) {if (b.lazyDependency("system_sdk", .{}))|system_sdk| {compile_step.addLibraryPath(system_sdk.path("linux/lib/x86_64-linux-gnu")); } }elseif (target.result.cpu.arch==.aarch64) {if (b.lazyDependency("system_sdk", .{}))|system_sdk| {compile_step.addLibraryPath(system_sdk.path("linux/lib/aarch64-linux-gnu")); } } },else=> {}, }
About
System libraries and headers for cross-compiling zig-gamedev libs & sample apps
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors3
Uh oh!
There was an error while loading.Please reload this page.