Skip to content

Instantly share code, notes, and snippets.

@hasherezade
Last active Dec 29, 2020
Embed
What would you like to do?
Build Hollows Hunter on Linux (MinGW)
#!/bin/sh
set -e
test -d _hollows_hunter \
|| git clone --recurse-submodules https://github.com/hasherezade/hollows_hunter _hollows_hunter
cd _hollows_hunter
cmake . \
-DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \
-DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \
-DCMAKE_SYSTEM_NAME=Windows-GNU \
-DPESIEVE_AS_DLL=0 \
-DPESIEVE_AS_STATIC_LIB=1 \
-DLINK_STATICALLY=1
make -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment