File: make_all.sh

package info (click to toggle)
libsfml 2.5.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,772 kB
  • sloc: cpp: 31,651; ansic: 6,399; objc: 653; sh: 199; xml: 30; makefile: 14
file content (38 lines) | stat: -rwxr-xr-x 750 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/env bash

# Abort if no known installation of NDK
if [ "$NDK" == "" ]
then
    echo "Where is the NDK location ?"
    echo -n "NDK: "; read NDK
    export NDK=$NDK
fi

export ANDROID_NDK=$NDK

# Abort if we don't know the Android CMake toolchain location
if [ "$ANDROID_CMAKE_TOOLCHAIN" == "" ]
then
    echo "Where is the Android CMake toolchain ?"
    echo -n "ANDROID_CMAKE_TOOLCHAIN: "; read ANDROID_CMAKE_TOOLCHAIN
    export ANDROID_CMAKE_TOOLCHAIN=$ANDROID_CMAKE_TOOLCHAIN
fi

./clean_all.sh

./create_toolchains.sh

./download_sources.sh
./compile_arm.sh

rm -r $PWD/build
./download_sources.sh
./compile_x86.sh

rm -r $PWD/build
./download_sources.sh
./compile_mips.sh

rm -r $PWD/build
./download_sources.sh
./compile_arm-v7a.sh