Skip to content
This repository was archived by the owner on Aug 1, 2026. It is now read-only.

Latest commit

 

History

History
49 lines (38 loc) · 1.55 KB

File metadata and controls

49 lines (38 loc) · 1.55 KB

game

Archival Note

Note

A small game project, which lived in printfdebugging/engine in it's initial days. The whole engine-project arcitecture was a bad idea as I realized it with the editor, it complicates things unnecessarily, makes refactors/pivoting hard. HENCE ARCHIVED!

Environment Setup

  • Windows
    • Install MSYS2 with winget install MSYS2.MSYS2
    • Add C:\msys64\clang64\bin to PATH
      • You can do that from the Edit the system environment variables dialog
      • Or run this command (from the codeblock below) in Powershell
    • Install Git with winget install Git.Git
    • Install VSCode with winget install Microsoft.VisualStudioCode
if ($env:Path -notlike "*C:\msys64\clang64\bin*") { [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\msys64\clang64\bin", "User") }

Dependencies

  • On Windows, open the MSYS2 CLANG64 shell
  • On Linux, use "THE BASH"
  • Run ./external/scripts/dependencies.sh, this installs compilers, build tools etc

Note

dependencies.sh only installs packages for Archlinux and MSYS2. If you use some other distribution, feel free to find the equivalent package names and add them to the script, thanks!

Bulid Steps

# downloads half the internet, sorry!
git submodule update --init --recursive 

# build and install (locally) the external libraries
make -C external install

# build the project itself
cmake -B build
cmake --build build

# run the game
./build/game