-
Notifications
You must be signed in to change notification settings - Fork 19
/
build_sfbaudioengine_frameworks.sh
executable file
·100 lines (76 loc) · 1.94 KB
/
build_sfbaudioengine_frameworks.sh
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/sh
if [ ! -d "$1" ]; then
echo "'$1' does not exist. aborting."
echo "try something like: ../SFBAudioEngine/Frameworks"
exit
fi
DO_CLEAN=1
WRK_DIR="${1}"
CONFIGURATION="Release"
function _xcodebuild
{
XCODEPROJ_PATH=$1
TARGET=$2
NAME=$3
PARAMS="-configuration ${CONFIGURATION}
CONFIGURATION_BUILD_DIR=${WRK_DIR}/build/${NAME}
PRIVATE_HEADERS_FOLDER_PATH=/include
PUBLIC_HEADERS_FOLDER_PATH=/include
"
if [ $DO_CLEAN -ne 0 ]; then
xcodebuild -project "${XCODEPROJ_PATH}" clean
fi
xcodebuild -project "${XCODEPROJ_PATH}" -target "${TARGET}" ${PARAMS}
}
rm -rf $1/*
_xcodebuild "dumb/dumb.xcodeproj" \
"dumb-OSX" \
"dumb"
_xcodebuild "flac/flac.xcodeproj" \
"libFLAC" \
"FLAC"
_xcodebuild "mac/mac.xcodeproj" \
"mac" \
"mac"
_xcodebuild "mp4v2/mp4v2.xcodeproj" \
"mp4v2" \
"mp4v2"
_xcodebuild "mpg123/mpg123.xcodeproj" \
"mpg123" \
"mpg123"
_xcodebuild "musepack/musepack.xcodeproj" \
"mpcdec" \
"mpcdec"
_xcodebuild "ogg/ogg.xcodeproj" \
"ogg" \
"ogg"
_xcodebuild "opus/opus.xcodeproj" \
"opus" \
"opus"
_xcodebuild "opus/opus.xcodeproj" \
"opusfile" \
"opus"
_xcodebuild "sndfile/sndfile.xcodeproj" \
"sndfile" \
"sndfile"
_xcodebuild "speex/speex.xcodeproj" \
"speex" \
"speex"
_xcodebuild "taglib/taglib.xcodeproj" \
"tag" \
"taglib"
_xcodebuild "tta++/tta++.xcodeproj" \
"tta++" \
"tta++"
_xcodebuild "vorbis/vorbis.xcodeproj" \
"vorbis" \
"vorbis"
_xcodebuild "vorbis/vorbis.xcodeproj" \
"vorbisfile" \
"vorbis"
_xcodebuild "wavpack/wavpack.xcodeproj" \
"libwavpack" \
"wavpack"
_xcodebuild "zlib/zlib.xcodeproj" \
"z" \
"zlib"