Skip to content

Instantly share code, notes, and snippets.

@hasherezade
Last active December 29, 2020 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hasherezade/8909a21ba29972b18059438889c45829 to your computer and use it in GitHub Desktop.
Save hasherezade/8909a21ba29972b18059438889c45829 to your computer and use it in GitHub Desktop.
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