aboutsummaryrefslogtreecommitdiff
path: root/XcodeConfig/subconfig
diff options
context:
space:
mode:
authorGravatar thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-05-09 18:53:09 +0000
committerGravatar thomasvl <thomasvl@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-05-09 18:53:09 +0000
commitf90bcf3263b80b96754977ddbd5309704cf817fb (patch)
tree585db4c1126cea3bd0ff9b338628d33febe36e59 /XcodeConfig/subconfig
parente5c365c04b9f2f6d04b2c5bd828f39fab2882e7d (diff)
Flush out suppport for 64bit, GC support.
Added some more xcode configs related to the above. Removed some classes that the unittesting doesn't need (and aren't able to support 64bit). add base64, httpfetcher, and progress monitor stream.
Diffstat (limited to 'XcodeConfig/subconfig')
-rw-r--r--XcodeConfig/subconfig/64bit.xcconfig26
-rw-r--r--XcodeConfig/subconfig/GCSupported.xcconfig23
-rw-r--r--XcodeConfig/subconfig/LeopardOrLater.xcconfig4
-rw-r--r--XcodeConfig/subconfig/TigerOrLater.xcconfig2
4 files changed, 54 insertions, 1 deletions
diff --git a/XcodeConfig/subconfig/64bit.xcconfig b/XcodeConfig/subconfig/64bit.xcconfig
new file mode 100644
index 0000000..bb9cae6
--- /dev/null
+++ b/XcodeConfig/subconfig/64bit.xcconfig
@@ -0,0 +1,26 @@
+//
+// 64bit.xcconfig
+//
+// Xcode configuration file to include for builds wanting 64bit support.
+//
+// Copyright 2008 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy
+// of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+//
+
+// Compile all flavors: 32 & 64bit on both PPC and Intel
+ARCHS = i386 x86_64 ppc ppc64
+
+// Warn on implicit data conversions in 64bit builds
+GCC_WARN_64_TO_32_BIT_CONVERSION[arch=ppc64] = YES
+GCC_WARN_64_TO_32_BIT_CONVERSION[arch=x86_64] = YES
diff --git a/XcodeConfig/subconfig/GCSupported.xcconfig b/XcodeConfig/subconfig/GCSupported.xcconfig
new file mode 100644
index 0000000..74bd027
--- /dev/null
+++ b/XcodeConfig/subconfig/GCSupported.xcconfig
@@ -0,0 +1,23 @@
+//
+// GCSupported.xcconfig
+//
+// Xcode configuration file for making a build Garbage Collection enabled.
+// Use the *GCSupported specific configs in the Target folder.
+//
+// Copyright 2006-2008 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License"); you may not
+// use this file except in compliance with the License. You may obtain a copy
+// of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations under
+// the License.
+//
+
+// enable garbage collection (but don't require it)
+GCC_ENABLE_OBJC_GC = supported
diff --git a/XcodeConfig/subconfig/LeopardOrLater.xcconfig b/XcodeConfig/subconfig/LeopardOrLater.xcconfig
index b2828d7..6cc1a08 100644
--- a/XcodeConfig/subconfig/LeopardOrLater.xcconfig
+++ b/XcodeConfig/subconfig/LeopardOrLater.xcconfig
@@ -26,3 +26,7 @@ GCC_VERSION = 4.0
// On Leopard use Obj-C fast dispatch
GCC_FAST_OBJC_DISPATCH = YES
+
+// For Leopard, pull in 64bit support
+#include "64bit.xcconfig"
+
diff --git a/XcodeConfig/subconfig/TigerOrLater.xcconfig b/XcodeConfig/subconfig/TigerOrLater.xcconfig
index d8f7a3d..a693a58 100644
--- a/XcodeConfig/subconfig/TigerOrLater.xcconfig
+++ b/XcodeConfig/subconfig/TigerOrLater.xcconfig
@@ -20,7 +20,7 @@
//
// Default SDK and minimum OS version is 10.4
-SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
+SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
MACOSX_DEPLOYMENT_TARGET = 10.4
GCC_VERSION = 4.0