diff options
author | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2008-12-12 15:24:34 +0000 |
---|---|---|
committer | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2008-12-12 15:24:34 +0000 |
commit | 2e8516354aacef064d01425808da06d2cdcb4791 (patch) | |
tree | 9da4758828930280d32f18d54ece7a249df742c7 /XcodeConfig | |
parent | 9f64d056dd70f2f938ac6f5adb8e75b650dc2e1a (diff) |
- GTMStackTrace works on 10.5+ (and iPhone) using NSThread to build the call stack.
- Added GTM_EXTERN that makes it easier to mix and match objc and objc++ code.
- Added GTMHotKeysTextField for display and editing of hot key settings.
- Added GTMCarbonEvent for dealing with Carbon Events and HotKeys in a ObjC like way.
- Backported the Atomic Barrier Swap functions for Objective C back to Tiger.
- Added a variety of new functions to GTMUnitTestingUtilities for checking if the screensaver is in the way, waiting on user events, and generating keystrokes.
- If you are using any Carbon routines that log (DebugStr, AssertMacros.h) and use GTMUnitTestDevLog, the log routines now go through _GTMDevLog so that they can be caught in GTMUnitTestDevLog and verified like any _GTMDevLog calls you may make. For an example of this in action see GTMCarbonEventTest.m.
- Added GTMFileSystemKQueue. It provides a simple wrapper for kqueuing something in the file system and tracking changes to it.
- RunIPhoneUnitTest.sh now cleans up the user home directory and creates a documents directory within it, used when requesting a NSDocumentDirectory.
- Added GTMNSFileManager+Carbon which contains routines for path <-> Alias conversion and path <-> FSRef conversion.
- Added GTMNSArray+Merge for merging one array into another with or without a custom merging function, returning a new array with the merged contents.
Diffstat (limited to 'XcodeConfig')
-rw-r--r-- | XcodeConfig/subconfig/Debug.xcconfig | 6 | ||||
-rw-r--r-- | XcodeConfig/subconfig/General.xcconfig | 6 | ||||
-rw-r--r-- | XcodeConfig/subconfig/iPhone20.xcconfig | 5 | ||||
-rw-r--r-- | XcodeConfig/subconfig/iPhone21.xcconfig | 5 |
4 files changed, 17 insertions, 5 deletions
diff --git a/XcodeConfig/subconfig/Debug.xcconfig b/XcodeConfig/subconfig/Debug.xcconfig index d8fbd1c..7d54d61 100644 --- a/XcodeConfig/subconfig/Debug.xcconfig +++ b/XcodeConfig/subconfig/Debug.xcconfig @@ -40,4 +40,8 @@ GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = _GLIBCXX_DEBUG_PEDANTIC _GLIBCX // Turns on stack protection on debug builds for Leopard and above GTM_CONFIGURATION_OTHER_CFLAGS = -fstack-protector -fstack-protector-all // Stack protection doesn't exist on Tiger -GTM_CONFIGURATION_OTHER_CFLAGS[sdk=macosx10.4*] = +GTM_CONFIGURATION_OTHER_CFLAGS[sdk=macosx10.4*] = + +// And is really broken on the iPhone Device. Works on simulator though. +// rdar://639430 Xcode generates bad Arm code if -fstack-protector -fstack-protector-all +GTM_CONFIGURATION_OTHER_CFLAGS[sdk=iphoneos*] = diff --git a/XcodeConfig/subconfig/General.xcconfig b/XcodeConfig/subconfig/General.xcconfig index 2aea15f..dc3e64f 100644 --- a/XcodeConfig/subconfig/General.xcconfig +++ b/XcodeConfig/subconfig/General.xcconfig @@ -46,6 +46,12 @@ ARCHS[sdk=iphonesimulator*] = i386 // Build only the active architecture on iphone device targets ONLY_ACTIVE_ARCH[sdk=iphoneos*] = YES +// iPhone currently deploys on 10.5 only +MACOSX_DEPLOYMENT_TARGET[sdk=iphone*] = 10.5 + +// We want our pngs compressed when they are copied +COMPRESS_PNG_FILES = YES + // Zerolink prevents link warnings so turn it off ZERO_LINK = NO diff --git a/XcodeConfig/subconfig/iPhone20.xcconfig b/XcodeConfig/subconfig/iPhone20.xcconfig index 2509ba8..0f92c95 100644 --- a/XcodeConfig/subconfig/iPhone20.xcconfig +++ b/XcodeConfig/subconfig/iPhone20.xcconfig @@ -17,7 +17,8 @@ // License for the specific language governing permissions and limitations under // the License. -// Default SDK and minimum OS version is the iphone SDK. +// Set default SDK. SDKROOT = iphoneos2.0 + +// iPhone currently deploys on 10.5 only MACOSX_DEPLOYMENT_TARGET = 10.5 -GCC_VERSION = 4.0 diff --git a/XcodeConfig/subconfig/iPhone21.xcconfig b/XcodeConfig/subconfig/iPhone21.xcconfig index e543ce5..61c59ed 100644 --- a/XcodeConfig/subconfig/iPhone21.xcconfig +++ b/XcodeConfig/subconfig/iPhone21.xcconfig @@ -17,7 +17,8 @@ // License for the specific language governing permissions and limitations under // the License. -// Default SDK and minimum OS version is the iphone SDK. +// Set default SDK. SDKROOT = iphoneos2.1 + +// iPhone currently deploys on 10.5 only MACOSX_DEPLOYMENT_TARGET = 10.5 -GCC_VERSION = 4.0 |