aboutsummaryrefslogtreecommitdiff
path: root/buildall.sh
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-07-24 14:25:51 +0200
committermarha <marha@users.sourceforge.net>2013-07-25 08:25:18 +0200
commitde54c5b749b3eefb75d420840c889533a58aa342 (patch)
tree6502771c9dd5a0d455388734060469b18f2e4011 /buildall.sh
parent0606cba5be2dab08f0b4de540d7b278fa6273daf (diff)
downloadvcxsrv-de54c5b749b3eefb75d420840c889533a58aa342.tar.gz
vcxsrv-de54c5b749b3eefb75d420840c889533a58aa342.tar.bz2
vcxsrv-de54c5b749b3eefb75d420840c889533a58aa342.zip
64-bit compilation now compiles and runs
Diffstat (limited to 'buildall.sh')
-rwxr-xr-xbuildall.sh20
1 files changed, 17 insertions, 3 deletions
diff --git a/buildall.sh b/buildall.sh
index c4c8c62f4..54347f427 100755
--- a/buildall.sh
+++ b/buildall.sh
@@ -16,19 +16,33 @@ check-error 'Please install/set environment for visual studio 2010'
# echo script lines from now one
#set -v
-devenv.com freetype/freetypevc10.sln /build "Release Multithreaded|Win32"
+if [[ "$IS64" == "" ]]; then
+FREETYPERELCONF="Release Multithreaded|Win32"
+FREETYPEDBGCONF="Debug Multithreaded|Win32"
+else
+FREETYPERELCONF="Release Multithreaded|x64"
+FREETYPEDBGCONF="Debug Multithreaded|x64"
+fi
+
+devenv.com freetype/freetypevc10.sln /build "$FREETYPERELCONF"
check-error 'Error compiling freetype'
-devenv.com freetype/freetypevc10.sln /build "Debug Multithreaded|Win32"
+devenv.com freetype/freetypevc10.sln /build "$FREETYPEDBGCONF"
check-error 'Error compiling freetype'
cd openssl
+if [[ "$IS64" == "" ]]; then
perl Configure VC-WIN32
check-error 'Error executing perl'
-
ms/do_nasm.bat
check-error 'Error configuring openssl for nasm'
+else
+perl Configure VC-WIN64A
+check-error 'Error executing perl'
+ms/do_win64a.bat
+check-error 'Error configuring openssl for nasm'
+fi
nmake -f ms/nt.mak
check-error 'Error compiling openssl for release'