Raylib gets added as a package to examples and the projectSetup generator

This commit is contained in:
G3bE 2020-02-15 20:42:22 +10:00
parent bfb4da40a0
commit b8c883e446
Failed to generate hash of commit
4 changed files with 14 additions and 10 deletions

View file

@ -46,8 +46,7 @@ pub fn main() anyerror!void
```
## Building the examples
Don't. At the moment im still trying to figure out how to turn the binding into a proper zig package and until then I can't build the examples without destroying the project setup.
The `basic_window` example is the default source file for project setup though
To build all available examples simply `zig build examples`. To list available examples run `zig build --help`. If you want to run and examples, say `basic_window` run `zig build basic_window`
## Building and using
+ Install raylib