summaryrefslogtreecommitdiffstats
path: root/scripts/docker/mxe-build-container/settings.mk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docker/mxe-build-container/settings.mk')
-rw-r--r--scripts/docker/mxe-build-container/settings.mk44
1 files changed, 44 insertions, 0 deletions
diff --git a/scripts/docker/mxe-build-container/settings.mk b/scripts/docker/mxe-build-container/settings.mk
new file mode 100644
index 000000000..fecac6e06
--- /dev/null
+++ b/scripts/docker/mxe-build-container/settings.mk
@@ -0,0 +1,44 @@
+# 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
+
+# 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)