Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 596 Bytes

File metadata and controls

27 lines (20 loc) · 596 Bytes

afterimage

Requirements

  • C++20 compiler (MSVC 19.38+/VS 2022, GCC 12+, Clang 16+, Emscripten 3.1.0+ for WASM)
  • SDL2 via vcpkg

Setup

Prereq: SDL2 (vcpkg)

C:\tools\vcpkg\vcpkg install sdl2:x64-windows

Configure + build (desktop)

cmake -B build -S . -G "Visual Studio 17 2022" -A x64 `
  -DCMAKE_TOOLCHAIN_FILE="C:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake" `
  -DVCPKG_TARGET_TRIPLET=x64-windows

cmake --build build --config Release --target afterimage_desktop

Run

.\build\desktop\Release\afterimage_desktop.exe