Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glfw: refactor system SDK inclusion into helper file #58

Merged
merged 1 commit into from
Oct 31, 2021
Merged

Conversation

slimsag
Copy link
Member

@slimsag slimsag commented Oct 31, 2021

This refactors the logic for system SDK inclusion out of the GLFW-specific build.zig,
and should make it very easy for anyone to copy this file and start getting cross-platform
builds of their own OpenGL/Vulkan Zig projects.

There may be some libraries we need to add for Vulkan to these SDKs, I haven't yet tested
that - but the overall idea here seems sound.

Fixes #39

  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

This refactors the logic for system SDK inclusion out of the GLFW-specific `build.zig`,
and should make it very easy for anyone to copy this file and start getting cross-platform
builds of their own OpenGL/Vulkan Zig projects.

There may be some libraries we need to add for Vulkan to these SDKs, I haven't yet tested
that - but the overall idea here seems sound.

Fixes #39

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
@slimsag slimsag added the glfw label Oct 31, 2021
@slimsag slimsag merged commit 7d3ea16 into main Oct 31, 2021
@slimsag slimsag deleted the sg/system-sdk branch October 31, 2021 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generalize system SDK inclusion
1 participant