build: tweak build.zigs to make using app library slightly easier #206

Merged
silversquirl merged 4 commits from main into main 2022-04-08 01:42:15 +00:00
silversquirl commented 2022-04-06 04:46:01 +00:00 (Migrated from github.com)

There are a few changes in one PR here:

  • Add explicit std.build.Pkg types to pkg variables in build.zigs
  • Publicize gpu and glfw from the toplevel build.zig to make it easier to use those from projects importing that
  • Run zig fmt on the toplevel build.zig (one tiny whitespace change)

  • 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.
There are a few changes in one PR here: - Add explicit `std.build.Pkg` types to `pkg` variables in `build.zig`s - Publicize `gpu` and `glfw` from the toplevel `build.zig` to make it easier to use those from projects importing that - Run `zig fmt` on the toplevel build.zig (one tiny whitespace change) --- - [x] 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.
emidoots (Migrated from github.com) approved these changes 2022-04-08 01:42:00 +00:00
emidoots (Migrated from github.com) left a comment

Thanks a ton for this, @silversquirl !

Thanks a ton for this, @silversquirl !
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach!206
No description provided.