From 50d4bd635a5fd8aaf6f19b713c10bbb445301b97 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 14:02:03 +0100 Subject: Finalize Windows port with size analysis reporting and updated docs --- BUILD.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'BUILD.md') diff --git a/BUILD.md b/BUILD.md index d8501dc..3a581b1 100644 --- a/BUILD.md +++ b/BUILD.md @@ -7,3 +7,23 @@ cmake --build build Size-optimized build: cmake -S . -B build -DDEMO_SIZE_OPT=ON cmake --build build + +## Windows Cross-Compilation (from macOS) + +Requires `mingw-w64` and `wine-stable` (for testing). + +1. Fetch Windows binaries: + ```bash + ./scripts/fetch_win_deps.sh + ``` + +2. Build for Windows: + ```bash + ./scripts/build_win.sh + ``` + This will produce `build_win/demo64k_packed.exe`. + +3. Run with Wine: + ```bash + ./scripts/run_win.sh + ``` -- cgit v1.2.3