Starter project for SDL2.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
TheoryOfNekomata d5bdd3c101 Update CMake config, add events demo 2 年前
src/packages/game Update CMake config, add events demo 2 年前
.gitignore Update CMake config, add events demo 2 年前
CMakeLists.txt Update CMake config, add events demo 2 年前
README.md Update CMake config, add events demo 2 年前

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.