3 # This script builds the server, the plugins and the application (sclang), one after another.
6 echo "--------------------------------------------------------------------------------
7 Building SuperCollider as a 32 bit UNIVERSAL BINARY (intel + ppc).
8 For faster build, or if you don't have UB versions of the libs
9 (e.g. libsndfile),you may specify your computer's architecture
10 by adding ARCHS=i386 or ARCHS=ppc as a parameter to this script.
11 Or, if you are using Mac OS 10.6, you may also specify ARCHS=32_64
12 to build a 32/64-bit Universal Binary version of the server and
13 plugins along with a 32-bit version of the application
14 --------------------------------------------------------------------------------
18 # First let's detect the special 32/64bit mode
19 switchableConfig
="Deployment"
23 if [ $opt == "ARCHS=32_64" ]; then
24 switchableConfig
="Deployment32-64"
26 echo "Building 32/64 bit sclang, scsynth and plugins"
31 echo "Building scsynth..."
32 xcodebuild
-project Synth.xcodeproj
-target "AllExceptAU" -configuration $switchableConfig $buildArg build ||
exit
35 echo "Building plugins..."
36 xcodebuild
-project Plugins.xcodeproj
-target "All" -configuration $switchableConfig $buildArg build ||
exit
39 echo "Building sclang..."
40 xcodebuild
-project Language.xcodeproj
-target "All" -configuration $switchableConfig $buildArg build ||
exit
43 echo "Building SuperColliderAU..."
44 xcodebuild
-project Synth.xcodeproj
-target "SuperColliderAU" -configuration $switchableConfig $buildArg build ||
exit