3 # This script cleans all targets, then builds the projects for the server, the plugins and the application (sclang) projects, one after another.
6 echo "--------------------------------------------------------------------------------
7 Building SuperCollider as a UNIVERSAL BINARY (intel + ppc).
8 For faster build, or if you don't have UB versions of the libs (e.g. libsndfile),
9 you may specify your computer's architecture by adding ARCHS=i386 or ARCHS=ppc
10 as a parameter to this script.
11 --------------------------------------------------------------------------------
16 echo "Cleaning scsynth..."
17 xcodebuild
-project Synth.xcodeproj
-target "All" $
* clean ||
exit
19 echo "Cleaning plugins..."
20 xcodebuild
-project Plugins.xcodeproj
-target "All" $
* clean ||
exit
22 echo "Cleaning sclang..."
23 xcodebuild
-project Language.xcodeproj
-target "All" $
* clean ||
exit
28 echo "Building scsynth..."
29 xcodebuild
-project Synth.xcodeproj
-target "AllExceptAU" -configuration "Deployment" $
* build ||
exit
32 echo "Building plugins..."
33 xcodebuild
-project Plugins.xcodeproj
-target "All" -configuration "Deployment" $
* build ||
exit
36 echo "Building sclang..."
37 xcodebuild
-project Language.xcodeproj
-target "All" -configuration "Deployment" $
* build ||
exit
40 echo "Building SuperColliderAU..."
41 xcodebuild
-project Synth.xcodeproj
-target "SuperColliderAU" -configuration "Deployment" $
* build ||
exit