comparison build.sh @ 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 18b31e2498a3
children 35d6b371ba63
comparison
equal deleted inserted replaced
372:6cc124e79066 373:42082e402d3e
15 cmake .. -DCMAKE_VERBOSE_MAKEFILE=True -DCMAKE_PREFIX_PATH=~/ubuntu 15 cmake .. -DCMAKE_VERBOSE_MAKEFILE=True -DCMAKE_PREFIX_PATH=~/ubuntu
16 nice make -j8 16 nice make -j8
17 cd .. 17 cd ..
18 mkdir -p build-windows 18 mkdir -p build-windows
19 cd build-windows 19 cd build-windows
20 MXEPATH=~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/
20 cmake .. \ 21 cmake .. \
21 -DCMAKE_PREFIX_PATH="~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/qt5;~/ubuntu/src/mxe/usr/i686-w64-mingw32.static;" \ 22 -DCMAKE_PREFIX_PATH="$MXEPATH/qt5;$MXEPATH;" \
22 -DNSS_INCLUDEDIR="/nss-3.12.7/include;/nss-3.12.7/public/nss" \ 23 -DNSS_INCLUDEDIR="/nss-3.12.7/include;/nss-3.12.7/public/nss" \
23 -DNSS_LIBDIR="/nss-3.12.7/lib" \ 24 -DNSS_LIBDIR="/nss-3.12.7/lib" \
24 -DCMAKE_TOOLCHAIN_FILE='~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake' \ 25 -DCMAKE_TOOLCHAIN_FILE="$MXEPATH/share/cmake/mxe-conf.cmake" \
25 -DCMAKE_VERBOSE_MAKEFILE=True 26 -DCMAKE_VERBOSE_MAKEFILE=True
26 nice make -j8 27 nice make -j8
27 cd .. 28 cd ..
28 29
29 # Note: qt5 plugins have .lib suffix 30 # Note: qt5 plugins have .lib suffix

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