Permalink
Browse files

Updating “build_sfbaudioengine_frameworks.sh”.

  • Loading branch information...
1 parent b94188d commit 036b80e80088d3c81189cfcd5a2134ce6ce4b224 Jan Weiß committed Jan 7, 2013
Showing with 56 additions and 24 deletions.
  1. +6 −0 README.markdown
  2. +50 −24 build_sfbaudioengine_frameworks.sh
View
@@ -8,6 +8,12 @@ Usage
This repo doesn't contain the sources for the respective frameworks or libraries. You need to add those yourself.
+You can use the included `build_sfbaudioengine_frameworks.sh` to build the dependencies for SFBAudioEngine. You can invoke it like this:
+
+ /build_sfbaudioengine_frameworks.sh ../SFBAudioEngine/Frameworks`
+
+The path in the argument must exist already!
+
CDDB
----
@@ -6,43 +6,69 @@ if [ ! -d "$1" ]; then
exit
fi
+DO_CLEAN=1
+
FRAMEWORKDIR=../$1
rm -rf $1/*
-xcodebuild -project dumb/dumb.xcodeproj clean
-xcodebuild -project dumb/dumb.xcodeproj -target dumb.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project dumb/dumb.xcodeproj clean
+fi
+xcodebuild -project dumb/dumb.xcodeproj -target dumb.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project flac/flac.xcodeproj clean
-xcodebuild -project flac/flac.xcodeproj -target Framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project flac/flac.xcodeproj clean
+fi
+xcodebuild -project flac/flac.xcodeproj -target Framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project mac/mac.xcodeproj clean
-xcodebuild -project mac/mac.xcodeproj -target mac.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project mac/mac.xcodeproj clean
+fi
+xcodebuild -project mac/mac.xcodeproj -target mac.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project mp4v2/mp4v2.xcodeproj clean
-xcodebuild -project mp4v2/mp4v2.xcodeproj -target mp4v2 -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project mp4v2/mp4v2.xcodeproj clean
+fi
+xcodebuild -project mp4v2/mp4v2.xcodeproj -target mp4v2 -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project musepack/musepack.xcodeproj clean
-xcodebuild -project musepack/musepack.xcodeproj -target mpcdec.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project musepack/musepack.xcodeproj clean
+fi
+xcodebuild -project musepack/musepack.xcodeproj -target mpcdec.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project mpg123/mpg123.xcodeproj clean
-xcodebuild -project mpg123/mpg123.xcodeproj -target mpg123.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project mpg123/mpg123.xcodeproj clean
+fi
+xcodebuild -project mpg123/mpg123.xcodeproj -target mpg123.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project sndfile/sndfile.xcodeproj clean
-xcodebuild -project sndfile/sndfile.xcodeproj -target sndfile.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project sndfile/sndfile.xcodeproj clean
+fi
+xcodebuild -project sndfile/sndfile.xcodeproj -target sndfile.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project speex/speex.xcodeproj clean
-xcodebuild -project speex/speex.xcodeproj -target speex.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project speex/speex.xcodeproj clean
+fi
+xcodebuild -project speex/speex.xcodeproj -target speex.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project taglib/taglib.xcodeproj clean
-xcodebuild -project taglib/taglib.xcodeproj -target taglib -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project taglib/taglib.xcodeproj clean
+fi
+xcodebuild -project taglib/taglib.xcodeproj -target taglib -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project tta/tta++.xcodeproj clean
-xcodebuild -project tta/tta++.xcodeproj -target tta++.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project tta/tta++.xcodeproj clean
+fi
+xcodebuild -project tta/tta++.xcodeproj -target tta++.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project vorbis/vorbis.xcodeproj clean
-xcodebuild -project vorbis/vorbis.xcodeproj -target vorbis.framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project vorbis/vorbis.xcodeproj clean
+fi
+xcodebuild -project vorbis/vorbis.xcodeproj -target vorbis.framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
-xcodebuild -project wavpack/wavpack.xcodeproj clean
-xcodebuild -project wavpack/wavpack.xcodeproj -target Framework -configuration Release -arch "i386 x86_64" CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR
+if [ $DO_CLEAN -ne 0 ]; then
+ xcodebuild -project wavpack/wavpack.xcodeproj clean
+fi
+xcodebuild -project wavpack/wavpack.xcodeproj -target Framework -configuration Release CONFIGURATION_BUILD_DIR=$FRAMEWORKDIR

0 comments on commit 036b80e

Please sign in to comment.