diff options
Diffstat (limited to 'BUILD.md')
| -rw-r--r-- | BUILD.md | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 + ``` |
