Skip to content

Commit

Permalink
MXE: enable building against userspace FTDI drivers again
Browse files Browse the repository at this point in the history
This still doesn't seem to work as expected and needs more testing.
Also, it can be turned off via command line argument

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  • Loading branch information
dirkhh committed Oct 7, 2018
1 parent f05d917 commit dc094c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packaging/windows/mxe-based-build.sh
Expand Up @@ -82,6 +82,13 @@ exec 1> >(tee ./winbuild.log) 2>&1
# for debugging
#trap "set +x; sleep 1; set -x" DEBUG

if [[ "$1" == "-noftdi" ]] ; then
shift
FTDI="OFF"
else
FTDI="ON"
fi

# this is run on a rather powerful machine - if you want less
# build parallelism, please change this variable
JOBS="-j4"
Expand Down Expand Up @@ -269,6 +276,7 @@ i686-w64-mingw32.shared-cmake \
-DLIBDIVECOMPUTER_LIBRARIES="$BASEDIR"/"$MXEDIR"/usr/i686-w64-mingw32.shared/lib/libdivecomputer.dll.a \
-DMAKE_TESTS=OFF \
-DBTSUPPORT=ON -DBLESUPPORT=ON \
-DFTDISUPPORT=$FTDI \
-DLIBGIT2_FROM_PKGCONFIG=ON \
"$BASEDIR"/subsurface

Expand Down

0 comments on commit dc094c5

Please sign in to comment.