diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-14 17:09:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-14 17:09:09 +0300 |
commit | 6045a08795de838f8f05ed86b8579288c4d8cbaf (patch) | |
tree | d69e4631528b9150f1d75a35468c9e56d9271d18 | |
parent | 0d0ce1a1b6a0e992a91c40dfac254fd4dfefc5a7 (diff) | |
download | ManaVerse-6045a08795de838f8f05ed86b8579288c4d8cbaf.tar.gz ManaVerse-6045a08795de838f8f05ed86b8579288c4d8cbaf.tar.bz2 ManaVerse-6045a08795de838f8f05ed86b8579288c4d8cbaf.tar.xz ManaVerse-6045a08795de838f8f05ed86b8579288c4d8cbaf.zip |
Add build scripts for windows 64 with mingw.
-rwxr-xr-x | build/winmake | 1 | ||||
-rwxr-xr-x | build/winmake64 | 7 | ||||
-rwxr-xr-x | build/wintests | 1 | ||||
-rwxr-xr-x | build/wintests64 | 5 |
4 files changed, 14 insertions, 0 deletions
diff --git a/build/winmake b/build/winmake index 6080eebb9..9b36957a1 100755 --- a/build/winmake +++ b/build/winmake @@ -1,5 +1,6 @@ #!/bin/bash +export CROSS="i686-w64-mingw32.shared" export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" source ./mingw5flags.sh diff --git a/build/winmake64 b/build/winmake64 new file mode 100755 index 000000000..5f39d9750 --- /dev/null +++ b/build/winmake64 @@ -0,0 +1,7 @@ +#!/bin/bash + +export CROSS="x86_64-w64-mingw32.shared" +export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" +source ./mingw5flags.sh + +./win_make diff --git a/build/wintests b/build/wintests index c9b194f5a..d46b7ac67 100755 --- a/build/wintests +++ b/build/wintests @@ -1,4 +1,5 @@ #!/bin/bash +export CROSS="i686-w64-mingw32.shared" export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" ./win_tests diff --git a/build/wintests64 b/build/wintests64 new file mode 100755 index 000000000..06e4f5cff --- /dev/null +++ b/build/wintests64 @@ -0,0 +1,5 @@ +#!/bin/bash + +export CROSS="x86_64-w64-mingw32.shared" +export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe" +./win_tests |