Skip to content

rnistuk/EasySDL2Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasySDL2Setup

Starter template for SDL2 projects using CMake.

Overview

A minimal CLion/CMake project template that provides quick setup for SDL2 graphics applications. SDL2 provides low-level access to audio, keyboard, mouse, joystick, and graphics hardware.

Features

  • Pre-configured CMake build system
  • SDL2 integration ready to use
  • Simple demo application included
  • Easy to extend for your own projects

Prerequisites

  • macOS (tested on Catalina 10.15.4+)
  • SDL2 (brew install sdl2)
  • CMake 3.17+
  • C++17 compiler

Build

mkdir build && cd build
cmake ..
make

Run

./build/sdl_application/demo

Tests

Tests are not yet implemented.

License

CC0 1.0 Universal - see LICENSE

Author

Rich Nistuk - rnistuk

Acknowledgments

  • Noah - Wavelength to RGB converter example

About

A CLion, or cmake, project that will make it easy to start a project that uses the SDL2 library.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors