nim-sdl-template
nim-sdl-template copied to clipboard
Cross-platform SDL/Nim skeleton
This repo is discontinued in favour of nimx. No guarantees that it will work with latest versions of everything.
Cross-platform SDL project in Nim
This is a project template that builds and runs on different target platforms.
Dependencies:
- SDL. Get SDL2 sources, and set
sdlRoot
innakefile.nim
- XCode. Required to build SDL for mac, ios, ios-sim. Not needed for android.
- Android SDK. Set
androidSdk
innakefile.nim
- Android NDK. Set
androidNdk
innakefile.nim
- Ant. Required to package and install on android.
Setup
- Change appropriate options in
nakefile.nim
:appName
,bundleId
,javaPackageId
,sdlRoot
,nimIncludeDir
. - To run in ios-simulator make sure to set
iOSSimulatorDeviceId
.
Building
$ nake <task>
List available tasks:
$ nake help
Feedback
Please feel free to submit pull requests, bug reports, etc.