Fix linking errors on mac and add a nimble test for building with nimterop

This commit is contained in:
Joey Yakimowich-Payne 2020-05-10 09:15:42 -06:00
commit e0ba50171b
8 changed files with 52 additions and 34 deletions

View file

@ -20,4 +20,11 @@ else:
task docs, "Do nothing": discard
task buildSDL2, "Build SDL2 example":
exec "nimble c -f -r src/sdl2.nim"
exec "nimble c -f -r src/sdl2.nim"
exec "nimble c -f -r src/sdl2/sdl2_gpu.nim"
task test, "Test":
buildSDL2Task()
# Doc building doesn't work on linux yet
when not defined(linux):
docsTask()