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

Add files of Zig Build System #846

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ndbn
Copy link

@ndbn ndbn commented Nov 24, 2024

Add files of Zig Build System
As example ported box2d-raylib into zig - https://github.com/ndbn/box2d-raylib-zig

ndbn added 4 commits November 24, 2024 20:35
Install:
  1) add box2d dependency into project `build.zig.zon` file (path or git)
  2) in project `build.zig`
	```
	 const box2d_dep = b.dependency("box2d", .{});
    	 const box2d_mod = box2d_dep.module("box2d_mod");
	 exe.root_module.addImport("b2", box2d_mod);
	```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant