Skip to content

Jbwzx/SDL2_CMake_template

Repository files navigation

SDL2 Starter template using CMake

Time to time I see people struggle setting up SDL2 with CMake on their machines. This template project shows one of the possible solutions to do so.

This template:

Installation guide

  1. Clone repository to your desired location
  2. Run cmake
    1. IDEs and text editors with CMake support / extensions will pick everything up automatically
    2. For manual build: from repository's root directory run cmake -S . -B build command, where . is your source directory and build is build one.
  3. Wait for CMake to finish fetching SDL2, index files and build program
  4. When finished program can be run where simple SDL2 window will be present

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published