Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKandrashin Denis <mail@lintest.ru>2013-06-11 01:26:03 +0400
committerKandrashin Denis <mail@lintest.ru>2013-06-11 01:26:03 +0400
commitf83b01b7be5af7ce1d52ffe747533f0cf8c202e4 (patch)
treea9b5d889b990c36f63c0d4f27045f45f469c4936 /windows.sh
parent246bd0c7299019d51e8bbe7e6c5e345e751d5eb0 (diff)
Cross compiling for Windows on Linux
Diffstat (limited to 'windows.sh')
-rwxr-xr-xwindows.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/windows.sh b/windows.sh
new file mode 100755
index 0000000..215b411
--- /dev/null
+++ b/windows.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+QT_WIN32_PREFIX="~/.wine/drive_c/Qt/4.8.4"
+
+rm -rf build-msw
+mkdir build-msw
+cd build-msw
+
+cmake \
+ -D CMAKE_TOOLCHAIN_FILE=../3rdparty/cmake/mingw32-toolchain.cmake \
+ -D QT_WIN32_PREFIX=${QT_WIN32_PREFIX} \
+ ..
+
+make
+