From 2a1b4e231ea9720d27fd30b6fe0614b2accac983 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 14:46:17 +0100 Subject: build: Add DEMO_ALL_OPTIONS to activate all build flags at once This adds a single CMake toggle to enable tools, tests, size optimizations, and code stripping, simplifying the development and verification workflow. --- HOWTO.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'HOWTO.md') diff --git a/HOWTO.md b/HOWTO.md index 1a3ec6d..f9cce91 100644 --- a/HOWTO.md +++ b/HOWTO.md @@ -40,6 +40,15 @@ cmake --build build ``` In this mode, the demo will always start in fullscreen. +### Developer Build (All Options) + +To enable all features at once (tests, tools, size optimizations, and stripping) for a comprehensive check: + +```bash +cmake -S . -B build -DDEMO_ALL_OPTIONS=ON +cmake --build build +``` + ### Windows (Wine) If you are on macOS and want to test the Windows build: @@ -48,6 +57,7 @@ If you are on macOS and want to test the Windows build: 2. Run it: `./scripts/run_win.sh` Note: WebGPU support in Wine requires a Vulkan-capable backend (like MoltenVK on macOS). +Note2: make sure you run the script `./scripts/fetch_win_deps.sh` before, to install Win64 dependencies. ## Testing -- cgit v1.2.3