Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build4 « tools « dist « ode « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 49831e2df356d411e62aeedb0992b5fa00aee87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
#
# build all four precision/release configurations and log the build messages
# (used for debugging).

PLATFORM=unix-gcc
SETTINGS=config/user-settings

if [ ! -f ode/src/ode.cpp ]; then
  echo "run this from the ODE root directory"
  exit 1
fi

function build() {
echo -e "$PRECISION $MODE\n\n" >> BUILD_LOG
cat <<END > $SETTINGS
PLATFORM=$PLATFORM
PRECISION=$PRECISION
BUILD=$MODE
END
make clean
make >> BUILD_LOG 2>&1
echo -e "\n\n---------------------------------------------\n\n" >> BUILD_LOG
}

echo > BUILD_LOG

PRECISION=SINGLE
MODE=debug
build
PRECISION=SINGLE
MODE=release
build
PRECISION=DOUBLE
MODE=debug
build
PRECISION=DOUBLE
MODE=release
build

make clean
rm -f $SETTINGS