build system update

This commit is contained in:
2026-09-25 19:58:11 -07:00
parent 86b36f27c6
commit 1ccb591959
5 changed files with 146 additions and 11 deletions
+8 -4
View File
@@ -8,17 +8,21 @@ COMING SOON
### Dependencies
- [cmake](https://cmake.org/)
- [cmake](https://cmake.org/) 3.25+
- [Ninja](https://ninja-build.org/)
- [Vulkan SDK](https://vulkan.lunarg.com/) - With validation layers
### Build instructions
Builds use the presets in `CMakePresets.json` (`debug`, `release`), each in its own `build/<preset>` directory:
```sh
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
cd build
make -j
cmake --preset debug
cmake --build --preset debug
```
Or with the dev helper: `dev build [preset] [--fresh]`.
## Third Party libraries used
- [GLFW](https://github.com/glfw/glfw) - Window and input handling