Skip to content

Snowblaze/sdl2-cmake-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdl2-cmake-starter

A starter template for Game Development based on SDL2

prerequisites

  • CMake 3.21.0 and above
  • C23 and C++23 capable compiler
  • Git LFS extension installed

usage

Rename the project in root CMakeLists.txt

Prepare Git LFS and dependencies before starting development

# Setup git lfs for binary files
git lfs install
git lfs pull --exclude=""

# Setup submodules
git submodule init
git submodule update --remote

build

To build the executable run the following commands:

cmake -S ./ -B ./build
cd ./build
make

XCode

To build XCode project run

cmake -S ./ -B ./build -GXcode

license

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published