summaryrefslogtreecommitdiffstats
path: root/scripts/docker/mxe-build-container/settings.mk
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-25 10:45:54 +1300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-25 10:46:39 +1300
commitf2187686380eb9df74189486d1d9d913fab0587d (patch)
treefed153ad494f2e7683b6ac5ffd2b05d4b50e0dcf /scripts/docker/mxe-build-container/settings.mk
parent9f433aa7590f568a9b1dbbc7d80443201656d940 (diff)
downloadsubsurface-f2187686380eb9df74189486d1d9d913fab0587d.tar.gz
build system: Docker image creation
Just like Android, Windows binaries are best created in a container. I still need to push the latest version to docker hub and use it on Travis, but this way at least the Dockerfile is here. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/docker/mxe-build-container/settings.mk')
-rw-r--r--scripts/docker/mxe-build-container/settings.mk15
1 files changed, 15 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..aadfc4c6f
--- /dev/null
+++ b/scripts/docker/mxe-build-container/settings.mk
@@ -0,0 +1,15 @@
+# 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 := 6
+
+# This variable controls the targets that will build.
+MXE_TARGETS := i686-w64-mingw32.shared
+
+# The three lines below makes `make` build these "local packages" instead of all packages.
+LOCAL_PKG_LIST := qtbase qtconnectivity qtdeclarative qtimageformats qtlocation qtmultimedia qtquickcontrols qtquickcontrols2 qtscript qtsvg qttools qttranslations qtwebview qtwebkit libxml2 libxslt libusb1 libgit2 nsis curl libzip libftdi1
+.DEFAULT local-pkg-list:
+local-pkg-list: $(LOCAL_PKG_LIST)
+