##// END OF EJS Templates
Huge cleanup, removed old unmaintained boards/libs/archs....
Huge cleanup, removed old unmaintained boards/libs/archs. Changed from building once the lib in small archives to whole rebuilding from sources for each executable, this will allow to use build-time switchs/optimisations. /!\ Simulator broken.

File last commit:

r71:608b7f0e27c2 dev_alexis
r105:031afdd64272 tip dev_alexis
Show More
buildlibuc2.sh
92 lines | 909 B | application/x-sh | BashLexer
#!/bin/bash
LIBUC2DIR=/opt/libuc2
ROOTDIR=`pwd`
mkdir -p src
DESTDIR=`pwd`/buildoutput
mkdir -p $DESTDIR
rm -f -R src/*
rm -f -R $DESTDIR/*
mkdir -p $DESTDIR/bin
tar -xvf $1 -C src
cd src
cd `ls`
./configure -opensource \
-confirm-license \
-prefix "$LIBUC2DIR" \
-prefix-install \
-fast \
-release \
-no-exceptions \
-nomake demos \
-nomake examples \
-nomake libs \
-nomake tools \
-nomake docs \
-nomake translations \
-no-xmlpatterns \
-no-qt3support \
-no-audio-backend \
-no-phonon \
-no-phonon-backend \
-no-svg -no-webkit \
-no-javascript-jit \
-no-script \
-no-scripttools \
-no-declarative \
-no-declarative-debug \
-no-gui \
-no-dbus
make -C qmake
cp ./bin/qmake $DESTDIR/bin/qmake-libuc2
mkdir -p $LIBUC2DIR
cp -R $DESTDIR/* $LIBUC2DIR/