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

w=$1

if [ "$w" = "" ]; then
  echo "Usage: $0 {32|64}"
  exit 2
fi

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

./config-msvc $w
make -j8
make check install
make distclean