aboutsummaryrefslogtreecommitdiffstats
path: root/make_windows_releases
blob: 2ea0dbecdfedd0f52ad20022126aa3b83232f79c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
if [ ! -d external-libs ]; then
   echo "Please extract qpdf-external-libs-bin.zip and try again"
   exit 2
fi

set -e
set -x
cwd=`pwd`
PATH=$cwd/libqpdf/build:$PATH

rm -rf install-mingw* install-msvc*

./config-mingw64
make -j8
make check install
make distclean
./config-mingw32
make -j8
make check install
make distclean

set +x

echo ''
echo 'Now run "./make_windows_releases-msvc 64" in a 64-bit MSVC environment'
echo 'and "./make_windows_releases-msvc 32" in a 32-bit MSVC environment.'
echo 'Then run "./make_windows_releases-finish".'
echo ''