2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-23 11:28:56 +00:00
qpdf/config-msvc

15 lines
494 B
Plaintext
Raw Normal View History

#!/bin/sh
wordsize=$1
if ! test "$wordsize" = "32" -o "$wordsize" = "64"; then
echo "Usage: $0 {32,64}"
exit 2
fi
shift
objdump=
if test "$wordsize" = "64"; then
2016-01-24 20:51:21 +00:00
objdump=$(dirname $(type -p x86_64-w64-mingw32-gcc))/objdump
else
objdump=$(dirname $(type -p i686-w64-mingw32-gcc))/objdump
fi
2016-01-24 20:51:21 +00:00
CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --enable-werror --with-windows-wordsize=$wordsize --with-buildrules=msvc OBJDUMP=$objdump ${1+"$@"}