{"id":20579953,"url":"https://github.com/zig-gamedev/system_sdk","last_synced_at":"2025-04-14T19:22:52.512Z","repository":{"id":243731673,"uuid":"813269995","full_name":"zig-gamedev/system_sdk","owner":"zig-gamedev","description":"System libraries and headers for cross-compiling zig-gamedev libs \u0026 sample apps","archived":false,"fork":false,"pushed_at":"2025-03-10T07:58:39.000Z","size":8965,"stargazers_count":4,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T07:51:09.571Z","etag":null,"topics":["cross-platform","gamedev","sdk","zig"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zig-gamedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-10T19:57:32.000Z","updated_at":"2025-03-10T07:58:43.000Z","dependencies_parsed_at":"2025-03-10T08:38:00.703Z","dependency_job_id":null,"html_url":"https://github.com/zig-gamedev/system_sdk","commit_stats":null,"previous_names":["zig-gamedev/system-sdk","zig-gamedev/system_sdk"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-gamedev%2Fsystem_sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-gamedev%2Fsystem_sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-gamedev%2Fsystem_sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zig-gamedev%2Fsystem_sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zig-gamedev","download_url":"https://codeload.github.com/zig-gamedev/system_sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248943415,"owners_count":21186958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","gamedev","sdk","zig"],"created_at":"2024-11-16T06:19:13.677Z","updated_at":"2025-04-14T19:22:52.488Z","avatar_url":"https://github.com/zig-gamedev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [zig-gamedev system_sdk](https://github.com/zig-gamedev/system_sdk)\n\nSystem libraries and headers for cross-compiling [zig-gamedev](https://github.com/zig-gamedev) libs and sample applications.\n\n## Usage\nbuild.zig\n```zig\n    switch (target.os.tag) {\n        .windows =\u003e {\n            if (target.cpu.arch.isX86()) {\n                if (target.abi.isGnu() or target.abi.isMusl()) {\n                    if (b.lazyDependency(\"system_sdk\", .{})) |system_sdk| {\n                        compile_step.addLibraryPath(system_sdk.path(\"windows/lib/x86_64-windows-gnu\"));\n                    }\n                }\n            }\n        },\n        .macos =\u003e {\n            if (b.lazyDependency(\"system_sdk\", .{})) |system_sdk| {\n                compile_step.addLibraryPath(system_sdk.path(\"macos12/usr/lib\"));\n                compile_step.addFrameworkPath(system_sdk.path(\"macos12/System/Library/Frameworks\"));\n            }\n        },\n        .linux =\u003e {\n            if (target.cpu.arch.isX86()) {\n                if (b.lazyDependency(\"system_sdk\", .{})) |system_sdk| {\n                    compile_step.addLibraryPath(system_sdk.path(\"linux/lib/x86_64-linux-gnu\"));\n                }\n            } else if (target.cpu.arch == .aarch64) {\n                if (b.lazyDependency(\"system_sdk\", .{})) |system_sdk| {\n                    compile_step.addLibraryPath(system_sdk.path(\"linux/lib/aarch64-linux-gnu\"));\n                }\n            }\n        },\n        else =\u003e {},\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzig-gamedev%2Fsystem_sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzig-gamedev%2Fsystem_sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzig-gamedev%2Fsystem_sdk/lists"}