Last active
December 29, 2020 14:22
-
-
Save hasherezade/8909a21ba29972b18059438889c45829 to your computer and use it in GitHub Desktop.
Build Hollows Hunter on Linux (MinGW)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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