Mercurial > trustbridge
comparison build.sh @ 69:92f523997086
Updated build notes
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 19 Mar 2014 11:30:16 +0000 |
parents | 1bf41957418f |
children | 056ddb71a310 |
comparison
equal
deleted
inserted
replaced
68:8ffbb48528ae | 69:92f523997086 |
---|---|
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 cmake .. \ | 20 cmake .. \ |
21 -DCMAKE_PREFIX_PATH="~/ubuntu/src/mxe/usr/i686-w64-mingw32.static" \ | 21 -DCMAKE_PREFIX_PATH="~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/qt5;~/ubuntu/src/mxe/usr/i686-w64-mingw32.static" \ |
22 -DCMAKE_TOOLCHAIN_FILE='~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake' \ | 22 -DCMAKE_TOOLCHAIN_FILE='~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake' \ |
23 -DCMAKE_VERBOSE_MAKEFILE=True | 23 -DCMAKE_VERBOSE_MAKEFILE=True |
24 nice make -j8 | 24 nice make -j8 |
25 cd .. | 25 cd .. |
26 | 26 |
28 # find ~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | xargs sed -i 's/\/([a-z]*)\.lib/\/lib\1\.a/g' | 28 # find ~/ubuntu/src/mxe/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | xargs sed -i 's/\/([a-z]*)\.lib/\/lib\1\.a/g' |
29 # Also they need to have a lib prefixed... | 29 # Also they need to have a lib prefixed... |
30 # Then there is a bogous call _qt5gui_find_extra_libs(OPENGL "glu32;opengl32;gdi32;user32" "" "") | 30 # Then there is a bogous call _qt5gui_find_extra_libs(OPENGL "glu32;opengl32;gdi32;user32" "" "") |
31 # where the first "" has to be replaced by your windows prefix. e.g. | 31 # where the first "" has to be replaced by your windows prefix. e.g. |
32 # /home/andre/ubuntu/src/mxe/usr/i686-w64-mingw32.static/lib | 32 # /home/andre/ubuntu/src/mxe/usr/i686-w64-mingw32.static/lib |
33 # if this does not work you can omment out the line altogether |