forked from jamoma/JamomaMax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlink.sh
executable file
·24 lines (18 loc) · 856 Bytes
/
link.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
#!/bin/bash
# run this script from the root of the JamomaMax repository after running build.sh with the --xcode option
# this will make symlinks to the build inside of the package itself to make it easier to interactively debug with xcode
PWD=`pwd`
SUPPORT="$PWD/Jamoma/support"
FOUNDATION="$PWD/build-xcode/JamomaCore/Foundation"
DSP="$PWD/build-xcode/JamomaCore/DSP"
GRAPH="$PWD/build-xcode/JamomaCore/Graph"
AUDIOGRAPH="$PWD/build-xcode/JamomaCore/AudioGraph"
MODULAR="$PWD/build-xcode/JamomaCore/Modular"
SCORE="$PWD/build-xcode/JamomaCore/Score"
rm -rf $PWD/Jamoma/externals
ln -s $PWD/build-xcode/Debug/externals $PWD/Jamoma/externals
rm -rf $PWD/Jamoma/extensions
mkdir $PWD/Jamoma/extensions
cp -r $PWD/Jamoma/externals/j.loader.mxo $PWD/Jamoma/extensions/j.loader.mxo
rm -rf $SUPPORT
ln -s $PWD/build-xcode/Debug/support $PWD/Jamoma/support