Add sdl gfx. Use ast2
This commit is contained in:
parent
ca209ffff4
commit
e0e4cc81bf
11 changed files with 149 additions and 18 deletions
|
|
@ -9,8 +9,13 @@ srcDir = "src"
|
|||
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 1.0.6", "nimterop#head"
|
||||
|
||||
when gorgeEx("nimble path nimterop").exitCode == 0:
|
||||
import nimterop/docs
|
||||
task docs, "Generate docs": buildDocs(@["src/sdl2_all.nim"], "build/htmldocs")
|
||||
else:
|
||||
task docs, "Do nothing": discard
|
||||
|
||||
task buildSDL2, "Build SDL2 example":
|
||||
exec "nimble c -f -r src/sdl2_all.nim"
|
||||
Loading…
Add table
Add a link
Reference in a new issue