diff INSTALL @ 1019:4f999c7821ce 0.9

Strip created executables
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 02 Sep 2014 16:03:40 +0200
parents 0570b1e562c2
children 5ec1cf66922e
line wrap: on
line diff
--- a/INSTALL	Tue Sep 02 15:41:40 2014 +0200
+++ b/INSTALL	Tue Sep 02 16:03:40 2014 +0200
@@ -228,6 +228,10 @@
     make qtbase
 (optional) make curl
 
+Add CMAKE_STRIP to the toolchain file:
+    echo "set(CMAKE_STRIP $MXEPATH/usr/bin/i686-w64-mingw32.static-strip)" >> \
+        "$MXEPATH/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake"
+
 Workaround Qt CMake Bugs:
     find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \
         xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g'

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