From c53ec5520e39096e0804ce8d89a21378c0904481 Mon Sep 17 00:00:00 2001 From: thomasvl Date: Fri, 13 Jun 2008 19:21:50 +0000 Subject: Landing a log of AppleScript/AppleEvent support code. Landing GTMHTTPServer as a simple server but mainly for use in unittesting. _GTMCompileAssert for doing compile time assertions to GTMDefines.h Lots of improvments for UnitTesting, Dave's gonna put up a wiki page shortly with the full details of what can be done. --- XcodeConfig/Project/DebugLeopardOrLater.xcconfig | 2 +- XcodeConfig/Project/DebugTigerOrLater.xcconfig | 2 +- XcodeConfig/Project/DebugiPhone.xcconfig | 2 +- XcodeConfig/Project/ReleaseLeopardOrLater.xcconfig | 2 +- XcodeConfig/Project/ReleaseTigerOrLater.xcconfig | 2 +- XcodeConfig/Project/ReleaseiPhone.xcconfig | 2 +- XcodeConfig/xcconfigs-readme.txt | 34 +++++++++++++++++----- 7 files changed, 33 insertions(+), 13 deletions(-) (limited to 'XcodeConfig') diff --git a/XcodeConfig/Project/DebugLeopardOrLater.xcconfig b/XcodeConfig/Project/DebugLeopardOrLater.xcconfig index 7bc3257..6aebf12 100644 --- a/XcodeConfig/Project/DebugLeopardOrLater.xcconfig +++ b/XcodeConfig/Project/DebugLeopardOrLater.xcconfig @@ -23,7 +23,7 @@ // the License. // -// Pull in our general Google settings +// Pull in the general settings #include "../subconfig/General.xcconfig" // Leopard or later diff --git a/XcodeConfig/Project/DebugTigerOrLater.xcconfig b/XcodeConfig/Project/DebugTigerOrLater.xcconfig index 76d2e27..725ea49 100644 --- a/XcodeConfig/Project/DebugTigerOrLater.xcconfig +++ b/XcodeConfig/Project/DebugTigerOrLater.xcconfig @@ -23,7 +23,7 @@ // the License. // -// Pull in our general Google settings +// Pull in the general settings #include "../subconfig/General.xcconfig" // Tiger or later diff --git a/XcodeConfig/Project/DebugiPhone.xcconfig b/XcodeConfig/Project/DebugiPhone.xcconfig index 45c5ba5..1ba99b4 100644 --- a/XcodeConfig/Project/DebugiPhone.xcconfig +++ b/XcodeConfig/Project/DebugiPhone.xcconfig @@ -23,7 +23,7 @@ // and individual Xcode target, there are other configuration files for that // purpose. -// Pull in our general Google settings +// Pull in the general settings #include "../subconfig/General.xcconfig" // iPhone settings diff --git a/XcodeConfig/Project/ReleaseLeopardOrLater.xcconfig b/XcodeConfig/Project/ReleaseLeopardOrLater.xcconfig index 52f0383..0188d10 100644 --- a/XcodeConfig/Project/ReleaseLeopardOrLater.xcconfig +++ b/XcodeConfig/Project/ReleaseLeopardOrLater.xcconfig @@ -23,7 +23,7 @@ // the License. // -// Pull in our general Google settings +// Pull in the general settings #include "../subconfig/General.xcconfig" // Leopard or later diff --git a/XcodeConfig/Project/ReleaseTigerOrLater.xcconfig b/XcodeConfig/Project/ReleaseTigerOrLater.xcconfig index d14e739..a024c4b 100644 --- a/XcodeConfig/Project/ReleaseTigerOrLater.xcconfig +++ b/XcodeConfig/Project/ReleaseTigerOrLater.xcconfig @@ -23,7 +23,7 @@ // the License. // -// Pull in our general Google settings +// Pull in the general settings #include "../subconfig/General.xcconfig" // Tiger or later diff --git a/XcodeConfig/Project/ReleaseiPhone.xcconfig b/XcodeConfig/Project/ReleaseiPhone.xcconfig index e61d1b6..d6c0127 100644 --- a/XcodeConfig/Project/ReleaseiPhone.xcconfig +++ b/XcodeConfig/Project/ReleaseiPhone.xcconfig @@ -23,7 +23,7 @@ // and individual Xcode target, there are other configuration files for that // purpose. -// Pull in our general Google settings +// Pull in the general settings #include "../subconfig/General.xcconfig" // iPhone Settings. diff --git a/XcodeConfig/xcconfigs-readme.txt b/XcodeConfig/xcconfigs-readme.txt index 23fde4b..5a44bb0 100644 --- a/XcodeConfig/xcconfigs-readme.txt +++ b/XcodeConfig/xcconfigs-readme.txt @@ -1,12 +1,32 @@ +Xcode Config is sorta a black art, any time you have a set of rules, you +quickly hit a few exceptions. -Configs w/in Project folder are configs expected to be set at the project level. +The main goal of using these is as follow: -Configs w/in the Target folder are configs expected to be set on the per target -level. +Edit your Project level build settings by removing as much as possible, and +then set the per Configuration settings to one of the project xcode config +files w/in the Project subfolder here. This will batch setup the project to +build Debug/Release w/ a specific SDK. -Configs w/in subconfig are not meant to be used directly; they are referenced by -the other configs. +If you are building a Shared Library, Loadable Bundle (Framework) or UnitTest +you will need to apply a further Xcode Config file at the target level. You do +this again by clearing most of the settings on the target, and just setting the +build config for that target to be the match from the Target subfolder here. +To see an example of this, look at CoverStory +(http://code.google.com/p/coverstory) or Vidnik +(http://code.google.com/p/vidnik). -Remember: when using the configs at any given layer, make sure you set them for -each build configuration. + +The common exception...If you need to have a few targets build w/ different +SDKs, then you hit the most common of the exceptions. For these, you'd need +the top level config not to set some things, the simplest way to do this seems +to be to remove as many of the settings from the project file, and make new +wrapper xcconfig files that inclue both the project level and target level +setting and set them on the targets (yes, this is like the MetroWerks days +where you can quickly explode in a what seems like N^2 (or worse) number of +config files. With a little luck, future versions of Xcode might have some +support to make mixing SDKs easier. + +Remember: When using the configs at any given layer, make sure you set them for +each build configuration you need (not just the active one). -- cgit v1.2.3