Mac: Fix bugs in scripts for building wxMac-2.6.3 and use gcc-4.0; fix XCode project when using debug build of wxMac-2.6.3

svn path=/trunk/boinc/; revision=13972
This commit is contained in:
Charlie Fenton 2007-10-27 11:16:38 +00:00
parent 1ff8594698
commit d52ab508d5
2 changed files with 6 additions and 13 deletions

View File

@ -22,13 +22,7 @@
# #
# Script to build the wxMac-2.6.3 library for BOINC as a Universal Binary # Script to build the wxMac-2.6.3 library for BOINC as a Universal Binary
# #
# by Charlie Fenton 7/21/06 # by Charlie Fenton 10/26/07
#
## Before running this script, you must first copy the special XCode
## project
## boinc/mac_build/wxMac-BOINC.xcodeproj
## to
## wxMac-2.6.3/src/
# #
# #
## In Terminal, CD to the wxMac-2.6.3 directory. ## In Terminal, CD to the wxMac-2.6.3 directory.
@ -63,7 +57,7 @@ else
rm -f src/build/Deployment/libwx_mac.a rm -f src/build/Deployment/libwx_mac.a
xcodebuild -project src/wxMac-BOINC.xcodeproj -target wxStaticRelease -configuration Deployment $doclean build GCC_VERSION_ppc=3.3 MACOSX_DEPLOYMENT_TARGET_ppc=10.3 SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk ARCHS="ppc" EXECUTABLE_NAME="libwx_mac_ppc.a" xcodebuild -project src/wxWindows.xcodeproj -target static -configuration Deployment $doclean build GCC_VERSION_ppc=4.0 MACOSX_DEPLOYMENT_TARGET_ppc=10.3 SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk ARCHS="ppc" EXECUTABLE_NAME="libwx_mac_ppc.a"
if [ $? -ne 0 ]; then return 1; fi if [ $? -ne 0 ]; then return 1; fi
fi fi
@ -75,7 +69,7 @@ else
rm -f src/build/Deployment/libwx_mac.a rm -f src/build/Deployment/libwx_mac.a
xcodebuild -project src/wxMac-BOINC.xcodeproj -target wxStaticRelease -configuration Deployment $doclean build GCC_VERSION_i386=4.0 MACOSX_DEPLOYMENT_TARGET_i386=10.4 SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk ARCHS="i386" EXECUTABLE_NAME="libwx_mac_i386.a" xcodebuild -project src/wxWindows.xcodeproj -target static -configuration Deployment $doclean build GCC_VERSION_i386=4.0 MACOSX_DEPLOYMENT_TARGET_i386=10.4 SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk ARCHS="i386" EXECUTABLE_NAME="libwx_mac_i386.a"
if [ $? -ne 0 ]; then return 1; fi if [ $? -ne 0 ]; then return 1; fi
fi fi
@ -96,7 +90,7 @@ else
rm -f src/build/Deployment/libwx_macd.a rm -f src/build/Deployment/libwx_macd.a
xcodebuild -project src/wxMac-BOINC.xcodeproj -target wxStaticDebug -configuration Deployment $doclean build GCC_VERSION_ppc=3.3 MACOSX_DEPLOYMENT_TARGET_ppc=10.3 SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk ARCHS="ppc" EXECUTABLE_NAME="libwx_macd_ppc.a" xcodebuild -project src/wxWindows.xcodeproj -target static -configuration Deployment $doclean build GCC_VERSION_ppc=4.0 MACOSX_DEPLOYMENT_TARGET_ppc=10.3 SDKROOT_ppc=/Developer/SDKs/MacOSX10.3.9.sdk ARCHS="ppc" EXECUTABLE_NAME="libwx_macd_ppc.a"
if [ $? -ne 0 ]; then return 1; fi if [ $? -ne 0 ]; then return 1; fi
fi fi
@ -107,7 +101,7 @@ else
rm -f src/build/Deployment/libwx_macd.a rm -f src/build/Deployment/libwx_macd.a
xcodebuild -project src/wxMac-BOINC.xcodeproj -target wxStaticDebug -configuration Deployment $doclean build GCC_VERSION_i386=4.0 MACOSX_DEPLOYMENT_TARGET_i386=10.4 SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk ARCHS="i386" EXECUTABLE_NAME="libwx_macd_i386.a" xcodebuild -project src/wxWindows.xcodeproj -target static -configuration Deployment $doclean build GCC_VERSION_i386=4.0 MACOSX_DEPLOYMENT_TARGET_i386=10.4 SDKROOT_i386=/Developer/SDKs/MacOSX10.4u.sdk ARCHS="i386" EXECUTABLE_NAME="libwx_macd_i386.a"
if [ $? -ne 0 ]; then return 1; fi if [ $? -ne 0 ]; then return 1; fi
fi fi

View File

@ -25,6 +25,7 @@
# #
# by Charlie Fenton 7/21/06 # by Charlie Fenton 7/21/06
# Updated for curl-7.17.0 10/21/07 # Updated for curl-7.17.0 10/21/07
# Bug fix for wxMac-2.6.3 7/26/07
# #
# Download these three packages and place them in a common parent # Download these three packages and place them in a common parent
# directory with the BOINC source tree. # directory with the BOINC source tree.
@ -81,8 +82,6 @@ echo ""
cd "${SCRIPT_DIR}" cd "${SCRIPT_DIR}"
cp -fpR wxMac-BOINC.xcodeproj ../../wxMac-2.6.3/src/
cd ../../wxMac-2.6.3/ cd ../../wxMac-2.6.3/
if [ $? -ne 0 ]; then return 1; fi if [ $? -ne 0 ]; then return 1; fi
source "${SCRIPT_DIR}/buildWxMac.sh" ${doclean} source "${SCRIPT_DIR}/buildWxMac.sh" ${doclean}