File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,53 @@ Also includes
1212
1313- [ SDL_ttf] ( https://github.com/libsdl-org/SDL_ttf )
1414
15+ ## Usage
16+
17+ TODO
18+
19+ ## Tests
20+
21+ Build all of SDL's test programs:
22+
23+ ```
24+ zig build sdl-test
25+ ```
26+
27+ Build and run a specific SDL test:
28+
29+ ```
30+ zig build sdl-test-testaudiohotplug
31+ zig build sdl-test-testcamera -- --camera 'Razer Kiyo'
32+ ```
33+
34+ ## Examples
35+
36+ Build all of SDL's example programs:
37+
38+ ```
39+ zig build sdl-examples
40+ ```
41+
42+ Build and run a specific SDL example:
43+
44+ ```
45+ zig build sdl-examples-woodeneye
46+ zig build sdl-examples-snake
47+ ```
48+
49+ Build all Zig examples:
50+
51+ ```
52+ zig build zig-examples
53+ ```
54+
55+ Build and run a specific Zig example:
56+
57+ ```
58+ zig build zig-examples-ttf
59+ zig build zig-examples-minimal
60+ ```
61+
1562## License
1663
1764[ Zlib] ( https://spdx.org/licenses/Zlib.html ) , same as [ SDL] ( https://github.com/libsdl-org/SDL ) .
You can’t perform that action at this time.
0 commit comments