CKEY in the action window scrolls the window so that the current frame
[blender.git] / extern / ode / dist / tools / build4
1 #!/bin/sh
2 #
3 # build all four precision/release configurations and log the build messages
4 # (used for debugging).
5
6 PLATFORM=unix-gcc
7 SETTINGS=config/user-settings
8
9 if [ ! -f ode/src/ode.cpp ]; then
10   echo "run this from the ODE root directory"
11   exit 1
12 fi
13
14 function build() {
15 echo -e "$PRECISION $MODE\n\n" >> BUILD_LOG
16 cat <<END > $SETTINGS
17 PLATFORM=$PLATFORM
18 PRECISION=$PRECISION
19 BUILD=$MODE
20 END
21 make clean
22 make >> BUILD_LOG 2>&1
23 echo -e "\n\n---------------------------------------------\n\n" >> BUILD_LOG
24 }
25
26 echo > BUILD_LOG
27
28 PRECISION=SINGLE
29 MODE=debug
30 build
31 PRECISION=SINGLE
32 MODE=release
33 build
34 PRECISION=DOUBLE
35 MODE=debug
36 build
37 PRECISION=DOUBLE
38 MODE=release
39 build
40
41 make clean
42 rm -f $SETTINGS