{"repo":"Tanner-Davison/sdl3-starter-template","free":true,"listed":false,"github":"https://github.com/Tanner-Davison/sdl3-starter-template","clone":"git clone https://github.com/Tanner-Davison/sdl3-starter-template.git","description":"SDL3 starter template for C++ game development. CMake + vcpkg. Cross-platform: Linux, macOS, Windows.","language":"C++","stars":10,"topics":["cmake","cpp","cross-platform","game-development","open-source","opensource","sdl3","starter","template","vcpkg"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"sdl3-starter-template A minimal SDL3 project template. Clone it, build it, and start writing your game. Includes SDL3, SDL3 image, and SDL3 ttf via vcpkg. --- Requirements Tool Version ------ --------- CMake 3.15+ vcpkg latest GCC / Clang / MSVC C++23 support --- Setup 1. Install vcpkg Skip this if you already have it. Clone it anywhere, there is no standard location. Then add these to your shell profile ( /.zshrc , /.bashrc , or PowerShell $PROFILE ): 2. Linux — install build dependencies 3. macOS — install Xcode tools 4. Windows — install Visual Studio Visual Studio 2022 with the Desktop development with C++ workload. --- Building Linux & macOS Windows (Visual Studio) Windows (Ninja) vcpkg will automatically download and build SDL3, SDL3 image, and SDL3 ttf on first run. This may take a few minutes. --- Running --- Project Structure --- Usage Your game loop lives in src/main.cpp : To add source files, update CMakeLists.txt : --- LSP / clangd Symlink the generated compile commands.json to the project root: --- License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/Tanner-Davison","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Tanner-Davison/sdl3-starter-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}