2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 01:27:07 +00:00
qpdf/config-msvc
Jay Berkenbilt c833295a39 Adjust Windows built to support 32-bit and 64-bit builds
Update the build to support new external-libs layout, and autoconf
options to specify windows word size.  Split make_windows_releases
into multiple scripts.
2012-06-21 21:22:35 -04:00

12 lines
368 B
Bash
Executable File

#!/bin/sh
wordsize=$1
if ! test "$wordsize" = "32" -o "$wordsize" = "64"; then
echo "Usage: $0 {32,64}"
exit 2
fi
objdump=
if test "$wordsize" = "64"; then
objdump=OBJDUMP=x86_64-w64-mingw32-objdump
fi
CC=cl CXX="cl -TP -GR" ./configure --disable-test-compare-images --enable-external-libs --with-windows-wordsize=$wordsize --with-buildrules=msvc $objdump