Reorg and support all sdl2 extensions
This commit is contained in:
parent
c6b469cf91
commit
8f4c7333e3
18 changed files with 303 additions and 52 deletions
|
|
@ -5,14 +5,15 @@ author = "Joey Yakimowich-Payne"
|
|||
description = "SDL2 Autogenerated wrapper"
|
||||
license = "MIT"
|
||||
srcDir = "src"
|
||||
skipDirs = @["build"]
|
||||
|
||||
# Dependencies
|
||||
requires "nim >= 1.0.6", "nimterop#cpluginpath", "regex"
|
||||
requires "nim >= 1.0.6", "nimterop#head", "regex"
|
||||
|
||||
when gorgeEx("nimble path nimterop").exitCode == 0:
|
||||
import nimterop/docs
|
||||
task docs, "Generate docs":
|
||||
buildDocs(@["src/sdl2.nim"], "build/htmldocs")
|
||||
buildDocs(@["src/sdl2.nim", "src/sdl2/sdl2_gpu.nim"], "build/htmldocs")
|
||||
cpFile("build/htmldocs/dochack.js", "build/htmldocs/sdl2/dochack.js")
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue