subsurface/scripts/docker/mxe-build-container/settings.mk
Dirk Hohndel 03e2d1e045 build-system: create an MXE docker container for both 32 & 64 bit
This should allow us to then do both 32 and 64 bit Windows builds in our CI/CD
and of course for our releases.

In order to still be able to use this container in a GitHub action, aggressively
remove things that we won't need during the build. Since we use the experimental
-squash argument during docker build, this should get us a much smaller container
image in the end.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-10-30 16:36:08 -07:00

44 lines
1.5 KiB
Makefile

# This is a template of configuration file for MXE. See
# index.html for more extensive documentations.
# This variable controls the number of compilation processes
# within one package ("intra-package parallelism").
JOBS := 8
# This variable controls the targets that will build.
MXE_TARGETS := x86_64-w64-mingw32.shared i686-w64-mingw32.shared
# The three lines below makes `make` build these "local packages" instead of all packages.
# The ordering of the list appears weird, but this seems to help to get the build done
# faster on a massively parallel machine to get some of the bottleneck packages built as
# early as possible
LOCAL_PKG_LIST := gcc \
openssl \
libmysqlclient \
postgresql \
qtbase \
qtwebkit \
nsis \
curl \
libxml2 \
libxslt \
libzip \
libusb1 \
hidapi \
libgit2 \
libftdi1 \
mdbtools \
qtconnectivity \
qtdeclarative \
qtimageformats \
qtlocation \
qtmultimedia \
qtquickcontrols \
qtquickcontrols2 \
qtcharts \
qtsvg \
qttools \
qttranslations \
zstd
.DEFAULT local-pkg-list:
local-pkg-list: $(LOCAL_PKG_LIST)