Mercurial > trustbridge
comparison build.sh @ 67:1bf41957418f
Update notes in build.sh script
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 18 Mar 2014 18:26:14 +0000 |
parents | 7b0efad494ea |
children | 92f523997086 |
comparison
equal
deleted
inserted
replaced
66:4f79cf993737 | 67:1bf41957418f |
---|---|
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 cmake .. -DCMAKE_PREFIX_PATH=~/wheezy/src/mxe/usr/i686-w64-mingw32/qt5 \ | 20 cmake .. \ |
21 -DCMAKE_TOOLCHAIN_FILE='~/wheezy/src/mxe/usr/i686-w64-mingw32/share/cmake/mxe-conf.cmake' \ | 21 -DCMAKE_PREFIX_PATH="~/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_VERBOSE_MAKEFILE=True | 23 -DCMAKE_VERBOSE_MAKEFILE=True |
23 nice make -j8 | 24 nice make -j8 |
24 cd .. | 25 cd .. |
25 | 26 |
26 # Note: qt5 plugins have .lib suffix | 27 # Note: qt5 plugins have .lib suffix |
27 # find ~/wheezy/src/mxe/usr/i686-w64-mingw32/qt5/lib/cmake -name \*.cmake | xargs sed -i 's/\.lib/\.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' |
28 # Also they need to have a lib prefixed... | 29 # Also they need to have a lib prefixed... |
29 # 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" "" "") |
30 # where the second "" has to be replaced by your windows prefix. e.g. /home/andre/wheezy/src/mxe/usr/i686-w64-mingw32/lib | 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 |