Starter project for SDL2.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TheoryOfNekomata 0ae822976a Organize tests 2 years ago
__mocks__ Implement joystick tests 2 years ago
docs/reference/files Isolate input/output handling 2 years ago
src/packages Organize tests 2 years ago
.editorconfig Organize test fixtures 2 years ago
.gitignore Update CMake config, add events demo 2 years ago
CMakeLists.txt Organize tests 2 years ago
README.md Update CMake config, add events demo 2 years ago
dependencies.txt Isolate input/output handling 2 years ago

README.md

sdl2-hello-world

A beginner template for SDL2 powered by CMake.

Setup

  1. Clone this repo.

  2. Download the SDL2 Development Libraries from the official download page.

    • For Windows

      1. Unpack the MSVC archive under dependencies folder in this project’s root.
      2. Rename the directory as SDL2.
    • For macOS

      TODO

    Alternatively, on Windows, you can link the external libraries via symlink.

  3. Build via CMake.