Minimal SDL2 application and build helpers to be used as template
This repository has been archived on 2026-02-19. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • CMake 84.4%
  • C++ 15.1%
  • Shell 0.5%
Find a file
2018-03-08 09:17:31 -03:00
3rdparty Adding SDL2_image dependency 2018-02-28 01:06:03 -03:00
cmake/modules Adding FindSDL2_image.cmake module file 2018-02-28 01:06:03 -03:00
resources "Minimum viable product", with SDL2 and SDL2_image 2018-02-28 01:12:15 -03:00
screenshots Adding linux screenshot 2018-03-08 01:19:28 -03:00
scripts Adding basic script to build dependencies 2018-02-28 01:01:17 -03:00
src Defining RESOURCES_DIR flag and using it to load texture 2018-02-28 01:12:15 -03:00
.gitignore Adding gitignore file 2018-02-28 01:01:17 -03:00
CMakeLists.txt Defining RESOURCES_DIR flag and using it to load texture 2018-02-28 01:12:15 -03:00
README.md Adding linux screenshot 2018-03-08 01:19:28 -03:00

sdl-template

Minimal SDL2 application and build helpers to be used as template (will download and build SDL2 and SDL2_image).

Dependencies

  • cmake
  • make
  • git
  • sdl2 dependencies
  • sdl2_image dependencies

Building:

Run (in the root directory):

./scripts/build-dependencies

mkdir build
cd build
cmake ..
make

Run:

Still on the build dir, run:

./src/sdl-template

Targets:

linux

linux build

(WHO IS NEXT??)

TBD



Moar info on our twitter account @DeadBodyOutline ;)