changeset 373:42082e402d3e

Set mxepath explicitly. Should make it easier to adapt
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Apr 2014 12:05:07 +0200
parents 6cc124e79066
children 4836537f87da
files build.sh
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/build.sh	Tue Apr 15 11:56:29 2014 +0200
+++ b/build.sh	Tue Apr 15 12:05:07 2014 +0200
@@ -17,11 +17,12 @@
 cd ..
 mkdir -p build-windows
 cd build-windows
+MXEPATH=~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/
 cmake .. \
-    -DCMAKE_PREFIX_PATH="~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/qt5;~/ubuntu/src/mxe/usr/i686-w64-mingw32.static;" \
+    -DCMAKE_PREFIX_PATH="$MXEPATH/qt5;$MXEPATH;" \
     -DNSS_INCLUDEDIR="/nss-3.12.7/include;/nss-3.12.7/public/nss" \
     -DNSS_LIBDIR="/nss-3.12.7/lib" \
-    -DCMAKE_TOOLCHAIN_FILE='~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake' \
+    -DCMAKE_TOOLCHAIN_FILE="$MXEPATH/share/cmake/mxe-conf.cmake" \
     -DCMAKE_VERBOSE_MAKEFILE=True
 nice make -j8
 cd ..

http://wald.intevation.org/projects/trustbridge/