Successor to sokol-zig-voxel-engine.
To build on Windows, we require the following dependencies:
- Clang
- Xmake
- Vulkan SDK (for glslangValidator)
To build on Linux, we require the following dependencies:
- Clang
- Xmake
- glslang-tools
- SDL3's Linux Build Dependencies
- libc++
On Ubuntu 22.04+/Debian 13, you can install the dependencies using:
sudo apt-get update
sudo apt-get install clang xmake glslang-tools libc++-dev libc++abi-dev git make \
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
libaudio-dev libfribidi-dev libjack-dev libsndio-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev \
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev libthai-dev \
libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-devOnce you've downloaded and installed the dependencies, we can build and run the game binary:
xmake build
xmake runWe can also build and run the test suite:
xmake testclangd Support
To produce a compile_commands.json file to leverage clangd, we run:
xmake project -k compile_commands