No description
Find a file
2026-07-31 13:51:18 +01:00
extern Made instructions for system install of dawn and switched to SDL to make that work 2026-07-29 16:43:53 +01:00
include/wne Tiny bit of cleanup 2026-07-31 13:31:57 +01:00
src Switched some error messages to use sdl's logging system 2026-07-31 13:51:18 +01:00
.gitignore Moved initial code into window class 2026-05-14 14:32:37 +01:00
.gitmodules Made instructions for system install of dawn and switched to SDL to make that work 2026-07-29 16:43:53 +01:00
CMakeLists.txt Made instructions for system install of dawn and switched to SDL to make that work 2026-07-29 16:43:53 +01:00
LICENCE.md Moved initial code into window class 2026-05-14 14:32:37 +01:00
README.md Made instructions for system install of dawn and switched to SDL to make that work 2026-07-29 16:43:53 +01:00

My build command

CXX=clang++ CC=clang cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -GNinja  -B build . && cmake --build build -j16

Development

This project relies on a webgpu native implementation called dawn. If you plan on doing any development in this project you should install it systemwide to reduce the chances of having to re-install it while working on the project. I like to use this command to generate the build project so it has debug headers and is a shared library for faster linking cmake -S . -B out/Debug -G Ninja -DDAWN_FETCH_DEPENDENCIES=ON -DDAWN_ENABLE_INSTALL=ON -DGLFW_INSTALL=ON -DCMAKE_BUILD_TYPE=Debug -DDAWN_BUILD_MONOLITHIC_LIBRARY=SHARED -DDAWN_BUILD_SAMPLES=OFF and use the rest of the instructions here.