/sdl2-scaffold

A minimal SDL2 project template

Primary LanguageLua

🌱 SDL2 Scaffold

A minimal sdl2 project template

🦄 Usage

Simply click the button below to get started:

Use this template

🔨 Development

📋 Requirements

To setup and use the project you will need to have the following tools installed:

⬇️ Installation

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