Permalink
Browse files

Merge remote-tracking branch 'objc-build-scripts/master' into build-s…

…cript
  • Loading branch information...
2 parents 2a594bb + dbcad2e commit 77d3d04ef2dcf9e2cce06e1ab645c8cc05e42190 @jspahrsummers jspahrsummers committed Feb 26, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 script/cibuild
View
@@ -67,17 +67,17 @@ do
done
echo "*** Cleaning all targets..."
-xcodebuild -alltargets clean $XCODEBUILD_SETTINGS
+xcodebuild -alltargets clean OBJROOT="$PWD/build" SYMROOT="$PWD/build" $XCODEBUILD_SETTINGS
run_xcodebuild ()
{
local scheme=$1
if [ -n "$XCWORKSPACE" ]
then
- xcodebuild -workspace "$XCWORKSPACE" -scheme "$scheme" -configuration "$XCCONFIGURATION" build $XCODEBUILD_SETTINGS
+ xcodebuild -workspace "$XCWORKSPACE" -scheme "$scheme" -configuration "$XCCONFIGURATION" build OBJROOT="$PWD/build" SYMROOT="$PWD/build" $XCODEBUILD_SETTINGS
else
- xcodebuild -scheme "$scheme" -configuration "$XCCONFIGURATION" build $XCODEBUILD_SETTINGS
+ xcodebuild -scheme "$scheme" -configuration "$XCCONFIGURATION" build OBJROOT="$PWD/build" SYMROOT="$PWD/build" $XCODEBUILD_SETTINGS
fi
local status=$?

0 comments on commit 77d3d04

Please sign in to comment.