A minimal sdl2 project template
Simply click the button below to get started:
To setup and use the project you will need to have the following tools installed:
Clone the repository
$ git clone https://github.com/xmake-examples/sdl2-scaffold.git
Change the working directory to the newly cloned repository:
$ cd sdl2-scaffold
Run xmake to install the dependencies & build the project:
$ xmake
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> libsdl 2.0.16
please input: y (y/n/m)
=> install libsdl 2.0.16 .. ok
[ 25%]: ccache compiling.release src/main.c
[ 50%]: linking.release sdl2-scaffold
[100%]: build ok!
Run the project after it has been built:
$ xmake run