-
Notifications
You must be signed in to change notification settings - Fork 12
/
install.sh
35 lines (29 loc) · 1.18 KB
/
install.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
#!/bin/sh
# FlyingTokyo19
# Clone Cinder
git clone --recursive https://github.com/simongeilfus/Cinder.git cinder
cd cinder
git checkout libcinder.dylib
# Build Cinder
cd xcode
CURRENT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
CINDER_XCODEPROJ="${CURRENT_DIR}/cinder.xcodeproj"
xcrun xcodebuild -project ${CINDER_XCODEPROJ} -target cinder_dynamic -configuration Release $@
xcrun xcodebuild -project ${CINDER_XCODEPROJ} -target cinder_dynamic -configuration Debug $@
xcrun xcodebuild -project ${CINDER_XCODEPROJ} -target cinder -configuration Release $@
xcrun xcodebuild -project ${CINDER_XCODEPROJ} -target cinder -configuration Debug $@
cd ..
# Clone Blocks
cd blocks
git clone https://github.com/simongeilfus/Cinder-Runtime.git
git clone https://github.com/simongeilfus/Watchdog.git
git clone --recursive https://github.com/simongeilfus/Cinder-ImGui.git
git clone https://github.com/simongeilfus/SimplexNoise.git
git clone https://github.com/simongeilfus/SpacePartitioning.git
git clone --recursive https://github.com/simongeilfus/Cinder-Cereal.git
# Install Cinder-Runtime
cd Cinder-Runtime
sh install.sh
# Add a shortcut to TinderBox
cd ../../..
ln -s cinder/tools/TinderBox-Mac/TinderBox.app