openFPGALoader/cmake
Selim Sandal afecedb9fb Add MinGW-w64 cross-compilation support for Windows
Add CMake toolchain file and module to enable cross-compiling
openFPGALoader for Windows from Linux using MinGW-w64.

Features:
- Automatic download and build of libusb and libftdi dependencies
- CMake toolchain file for x86_64-w64-mingw32
- Fully static executable (only depends on Windows system DLLs)
- Works on Debian/Ubuntu, Fedora/RHEL/Rocky Linux

Usage:
  cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchain-x86_64-w64-mingw32.cmake ..
  cmake --build . --parallel

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-12 18:08:05 +01:00
..
Modules Add MinGW-w64 cross-compilation support for Windows 2026-02-12 18:08:05 +01:00
Toolchain-x86_64-w64-mingw32.cmake Add MinGW-w64 cross-compilation support for Windows 2026-02-12 18:08:05 +01:00