Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj
changeset 4831 8dabd625079f
parent 3339 62d208fd5f49
child 4859 91f4d4d5c395
     1.1 --- a/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Tue Aug 03 23:22:31 2010 -0400
     1.2 +++ b/Xcode/SDLTest/SDLTest.xcodeproj/project.pbxproj	Tue Aug 03 23:41:57 2010 -0400
     1.3 @@ -609,6 +609,8 @@
     1.4  		00794F0B09D238F4003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; };
     1.5  		00794F1109D2392B003FC8A1 /* icon.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E5D09D20839003FC8A1 /* icon.bmp */; };
     1.6  		00794F8709D2413B003FC8A1 /* sample.bmp in CopyFiles */ = {isa = PBXBuildFile; fileRef = 00794E6109D20839003FC8A1 /* sample.bmp */; };
     1.7 +		4537749F12091551002F0F45 /* libsdlcommon.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEC567FF0761D90600A33029 /* libsdlcommon.a */; };
     1.8 +		453774A5120915E3002F0F45 /* testshape.c in Sources */ = {isa = PBXBuildFile; fileRef = 453774A4120915E3002F0F45 /* testshape.c */; };
     1.9  		BEC566B10761D90300A33029 /* checkkeys.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D10FFB30A2C7F000001 /* checkkeys.c */; };
    1.10  		BEC566BE0761D90300A33029 /* graywin.c in Sources */ = {isa = PBXBuildFile; fileRef = 092D6D1BFFB30C237F000001 /* graywin.c */; };
    1.11  		BEC566CB0761D90300A33029 /* loopwave.c in Sources */ = {isa = PBXBuildFile; fileRef = 083E4872006D84C97F000001 /* loopwave.c */; };
    1.12 @@ -1178,6 +1180,20 @@
    1.13  			remoteGlobalIDString = BECDF6C30761BA81005FE872;
    1.14  			remoteInfo = "Devel Extras Package";
    1.15  		};
    1.16 +		4537747F120914AE002F0F45 /* PBXContainerItemProxy */ = {
    1.17 +			isa = PBXContainerItemProxy;
    1.18 +			containerPortal = 003FA63A093FFD41000C53B3 /* SDL.xcodeproj */;
    1.19 +			proxyType = 2;
    1.20 +			remoteGlobalIDString = 00D8D9EF1195090700638393 /* testsdl.app */;
    1.21 +			remoteInfo = testsdl;
    1.22 +		};
    1.23 +		4537749D1209152D002F0F45 /* PBXContainerItemProxy */ = {
    1.24 +			isa = PBXContainerItemProxy;
    1.25 +			containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
    1.26 +			proxyType = 1;
    1.27 +			remoteGlobalIDString = BEC567F70761D90600A33029 /* sdlcommon */;
    1.28 +			remoteInfo = sdlcommon;
    1.29 +		};
    1.30  		BEC568300761D90600A33029 /* PBXContainerItemProxy */ = {
    1.31  			isa = PBXContainerItemProxy;
    1.32  			containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */;
    1.33 @@ -1551,6 +1567,9 @@
    1.34  		092D6D62FFB312AA7F000001 /* testjoystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testjoystick.c; path = ../../test/testjoystick.c; sourceTree = SOURCE_ROOT; };
    1.35  		092D6D6CFFB313437F000001 /* testkeys.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testkeys.c; path = ../../test/testkeys.c; sourceTree = SOURCE_ROOT; };
    1.36  		092D6D75FFB313BB7F000001 /* testlock.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = testlock.c; path = ../../test/testlock.c; sourceTree = SOURCE_ROOT; };
    1.37 +		4537749212091504002F0F45 /* testshape.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testshape.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.38 +		4537749412091505002F0F45 /* testshape-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testshape-Info.plist"; sourceTree = "<group>"; };
    1.39 +		453774A4120915E3002F0F45 /* testshape.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testshape.c; path = ../../test/testshape.c; sourceTree = SOURCE_ROOT; };
    1.40  		B207FF2404E1B19600A80002 /* sdlcommon_prefix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sdlcommon_prefix.h; sourceTree = "<group>"; };
    1.41  		BEC566B60761D90300A33029 /* checkkeys.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = checkkeys.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.42  		BEC566C30761D90300A33029 /* graywin.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = graywin.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.43 @@ -1995,6 +2014,14 @@
    1.44  			);
    1.45  			runOnlyForDeploymentPostprocessing = 0;
    1.46  		};
    1.47 +		4537749012091504002F0F45 /* Frameworks */ = {
    1.48 +			isa = PBXFrameworksBuildPhase;
    1.49 +			buildActionMask = 2147483647;
    1.50 +			files = (
    1.51 +				4537749F12091551002F0F45 /* libsdlcommon.a in Frameworks */,
    1.52 +			);
    1.53 +			runOnlyForDeploymentPostprocessing = 0;
    1.54 +		};
    1.55  		BEC566B20761D90300A33029 /* Frameworks */ = {
    1.56  			isa = PBXFrameworksBuildPhase;
    1.57  			buildActionMask = 2147483647;
    1.58 @@ -2468,6 +2495,7 @@
    1.59  				003FA645093FFD41000C53B3 /* libSDL.a */,
    1.60  				003FA649093FFD41000C53B3 /* Standard DMG */,
    1.61  				003FA64B093FFD41000C53B3 /* Developer Extras Package */,
    1.62 +				45377480120914AE002F0F45 /* testsdl.app */,
    1.63  			);
    1.64  			name = Products;
    1.65  			sourceTree = "<group>";
    1.66 @@ -2495,6 +2523,7 @@
    1.67  				002F33A209CA183B00EBEB88 /* Linked Frameworks */,
    1.68  				00794E4609D207B4003FC8A1 /* Resources */,
    1.69  				1AB674ADFE9D54B511CA2CBB /* Products */,
    1.70 +				4537749412091505002F0F45 /* testshape-Info.plist */,
    1.71  			);
    1.72  			comments = "I made these tests link against our \"default\" framework which includes X11 stuff. If you didn't install the X11 headers with Xcode, you might have problems building the SDL.framework (which is a dependency). You can swap the dependencies around to get around this, or you can modify the default SDL.framework target to not include X11 stuff. (Go into its target build options and remove all the Preprocessor macros.)\n\n\n\nWe are sort of in a half-way state at the moment. Going \"all-the-way\" means we copy the SDL.framework inside the app bundle so we can run the test without the step of the user \"installing\" the framework. But there is an oversight/bug in Xcode that doesn't correctly find the location of the framework when in an embedded/nested Xcode project. We could probably try to hack this with a shell script that checks multiple directories for existence, but this is messier and more work than I prefer, so I rather just wait for Apple to fix this. In the meantime...\n\nThe \"All\" target will build the SDL framework from the Xcode project. The other targets do not have this dependency set (for flexibility reasons in case we make changes). If you have not built the framework, you will probably be unable to link. You will either need to build the framework, or you need to add \"-framework SDL\" to the link options and make sure you have the SDL.framework installed somewhere where it can be seen (like /Library/Frameworks...I think we already set this one up.) \n\nTo run though, you should have a copy of the SDL.framework in /Library/Frameworks or ~/Library/Frameworks.\n\n\n\n\ntestgl and testdyngl need -DHAVE_OPENGL\ntestgl needs to link against OpenGL.framework\n\n";
    1.73  			name = SDLTest;
    1.74 @@ -2543,6 +2572,7 @@
    1.75  				001798B910743A4900F5D044 /* testpower.c */,
    1.76  				001798F910743E9200F5D044 /* testresample.c */,
    1.77  				083E487E006D86A17F000001 /* testsem.c */,
    1.78 +				453774A4120915E3002F0F45 /* testshape.c */,
    1.79  				083E487F006D86A17F000001 /* testsprite.c */,
    1.80  				0017991910743F5300F5D044 /* testsprite2.c */,
    1.81  				083E4880006D86A17F000001 /* testtimer.c */,
    1.82 @@ -2608,6 +2638,7 @@
    1.83  				001798F210743BEC00F5D044 /* testresample.app */,
    1.84  				0017991610743F1000F5D044 /* testsprite2.app */,
    1.85  				0017993810743FB700F5D044 /* testwm2.app */,
    1.86 +				4537749212091504002F0F45 /* testshape.app */,
    1.87  			);
    1.88  			name = Products;
    1.89  			sourceTree = "<group>";
    1.90 @@ -3421,6 +3452,24 @@
    1.91  			productReference = 002F346A09CA204F00EBEB88 /* testplatform.app */;
    1.92  			productType = "com.apple.product-type.application";
    1.93  		};
    1.94 +		4537749112091504002F0F45 /* testshape */ = {
    1.95 +			isa = PBXNativeTarget;
    1.96 +			buildConfigurationList = 4537749A1209150C002F0F45 /* Build configuration list for PBXNativeTarget "testshape" */;
    1.97 +			buildPhases = (
    1.98 +				4537748E12091504002F0F45 /* Resources */,
    1.99 +				4537748F12091504002F0F45 /* Sources */,
   1.100 +				4537749012091504002F0F45 /* Frameworks */,
   1.101 +			);
   1.102 +			buildRules = (
   1.103 +			);
   1.104 +			dependencies = (
   1.105 +				4537749E1209152D002F0F45 /* PBXTargetDependency */,
   1.106 +			);
   1.107 +			name = testshape;
   1.108 +			productName = testshape;
   1.109 +			productReference = 4537749212091504002F0F45 /* testshape.app */;
   1.110 +			productType = "com.apple.product-type.application";
   1.111 +		};
   1.112  		BEC566AB0761D90300A33029 /* checkkeys */ = {
   1.113  			isa = PBXNativeTarget;
   1.114  			buildConfigurationList = 001B593808BDB826006539E9 /* Build configuration list for PBXNativeTarget "checkkeys" */;
   1.115 @@ -3996,6 +4045,7 @@
   1.116  				BEC567EA0761D90600A33029 /* torturethread */,
   1.117  				BEC567F70761D90600A33029 /* sdlcommon */,
   1.118  				002F337009CA14F900EBEB88 /* test */,
   1.119 +				4537749112091504002F0F45 /* testshape */,
   1.120  			);
   1.121  		};
   1.122  /* End PBXProject section */
   1.123 @@ -4029,6 +4079,13 @@
   1.124  			remoteRef = 003FA64A093FFD41000C53B3 /* PBXContainerItemProxy */;
   1.125  			sourceTree = BUILT_PRODUCTS_DIR;
   1.126  		};
   1.127 +		45377480120914AE002F0F45 /* testsdl.app */ = {
   1.128 +			isa = PBXReferenceProxy;
   1.129 +			fileType = wrapper.application;
   1.130 +			path = testsdl.app;
   1.131 +			remoteRef = 4537747F120914AE002F0F45 /* PBXContainerItemProxy */;
   1.132 +			sourceTree = BUILT_PRODUCTS_DIR;
   1.133 +		};
   1.134  /* End PBXReferenceProxy section */
   1.135  
   1.136  /* Begin PBXResourcesBuildPhase section */
   1.137 @@ -4193,6 +4250,13 @@
   1.138  			);
   1.139  			runOnlyForDeploymentPostprocessing = 0;
   1.140  		};
   1.141 +		4537748E12091504002F0F45 /* Resources */ = {
   1.142 +			isa = PBXResourcesBuildPhase;
   1.143 +			buildActionMask = 2147483647;
   1.144 +			files = (
   1.145 +			);
   1.146 +			runOnlyForDeploymentPostprocessing = 0;
   1.147 +		};
   1.148  		BEC566AE0761D90300A33029 /* Resources */ = {
   1.149  			isa = PBXResourcesBuildPhase;
   1.150  			buildActionMask = 2147483647;
   1.151 @@ -4561,6 +4625,14 @@
   1.152  			);
   1.153  			runOnlyForDeploymentPostprocessing = 0;
   1.154  		};
   1.155 +		4537748F12091504002F0F45 /* Sources */ = {
   1.156 +			isa = PBXSourcesBuildPhase;
   1.157 +			buildActionMask = 2147483647;
   1.158 +			files = (
   1.159 +				453774A5120915E3002F0F45 /* testshape.c in Sources */,
   1.160 +			);
   1.161 +			runOnlyForDeploymentPostprocessing = 0;
   1.162 +		};
   1.163  		BEC566B00761D90300A33029 /* Sources */ = {
   1.164  			isa = PBXSourcesBuildPhase;
   1.165  			buildActionMask = 2147483647;
   1.166 @@ -5114,6 +5186,11 @@
   1.167  			target = BEC567F70761D90600A33029 /* sdlcommon */;
   1.168  			targetProxy = 002F345B09CA204F00EBEB88 /* PBXContainerItemProxy */;
   1.169  		};
   1.170 +		4537749E1209152D002F0F45 /* PBXTargetDependency */ = {
   1.171 +			isa = PBXTargetDependency;
   1.172 +			target = BEC567F70761D90600A33029 /* sdlcommon */;
   1.173 +			targetProxy = 4537749D1209152D002F0F45 /* PBXContainerItemProxy */;
   1.174 +		};
   1.175  		BEC568310761D90600A33029 /* PBXTargetDependency */ = {
   1.176  			isa = PBXTargetDependency;
   1.177  			target = BEC567F70761D90600A33029 /* sdlcommon */;
   1.178 @@ -7643,6 +7720,112 @@
   1.179  			};
   1.180  			name = Default;
   1.181  		};
   1.182 +		4537749512091509002F0F45 /* Deployment_using_10.4SDK_and_10.6SDK */ = {
   1.183 +			isa = XCBuildConfiguration;
   1.184 +			buildSettings = {
   1.185 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.186 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
   1.187 +				GCC_MODEL_TUNING = G5;
   1.188 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
   1.189 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
   1.190 +				INFOPLIST_FILE = "testshape-Info.plist";
   1.191 +				INSTALL_PATH = "$(HOME)/Applications";
   1.192 +				OTHER_LDFLAGS = (
   1.193 +					"-framework",
   1.194 +					Foundation,
   1.195 +					"-framework",
   1.196 +					AppKit,
   1.197 +				);
   1.198 +				PREBINDING = NO;
   1.199 +				PRODUCT_NAME = testshape;
   1.200 +				RUN_CLANG_STATIC_ANALYZER = YES;
   1.201 +			};
   1.202 +			name = Deployment_using_10.4SDK_and_10.6SDK;
   1.203 +		};
   1.204 +		4537749612091509002F0F45 /* Development_using_10.4SDK_and_10.6SDK */ = {
   1.205 +			isa = XCBuildConfiguration;
   1.206 +			buildSettings = {
   1.207 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.208 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
   1.209 +				GCC_MODEL_TUNING = G5;
   1.210 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
   1.211 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
   1.212 +				INFOPLIST_FILE = "testshape-Info.plist";
   1.213 +				INSTALL_PATH = "$(HOME)/Applications";
   1.214 +				OTHER_LDFLAGS = (
   1.215 +					"-framework",
   1.216 +					Foundation,
   1.217 +					"-framework",
   1.218 +					AppKit,
   1.219 +				);
   1.220 +				PREBINDING = NO;
   1.221 +				PRODUCT_NAME = testshape;
   1.222 +			};
   1.223 +			name = Development_using_10.4SDK_and_10.6SDK;
   1.224 +		};
   1.225 +		4537749712091509002F0F45 /* Development_native_only */ = {
   1.226 +			isa = XCBuildConfiguration;
   1.227 +			buildSettings = {
   1.228 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.229 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
   1.230 +				GCC_MODEL_TUNING = G5;
   1.231 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
   1.232 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
   1.233 +				INFOPLIST_FILE = "testshape-Info.plist";
   1.234 +				INSTALL_PATH = "$(HOME)/Applications";
   1.235 +				OTHER_LDFLAGS = (
   1.236 +					"-framework",
   1.237 +					Foundation,
   1.238 +					"-framework",
   1.239 +					AppKit,
   1.240 +				);
   1.241 +				PREBINDING = NO;
   1.242 +				PRODUCT_NAME = testshape;
   1.243 +			};
   1.244 +			name = Development_native_only;
   1.245 +		};
   1.246 +		4537749812091509002F0F45 /* Deployment_native_only */ = {
   1.247 +			isa = XCBuildConfiguration;
   1.248 +			buildSettings = {
   1.249 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.250 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
   1.251 +				GCC_MODEL_TUNING = G5;
   1.252 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
   1.253 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
   1.254 +				INFOPLIST_FILE = "testshape-Info.plist";
   1.255 +				INSTALL_PATH = "$(HOME)/Applications";
   1.256 +				OTHER_LDFLAGS = (
   1.257 +					"-framework",
   1.258 +					Foundation,
   1.259 +					"-framework",
   1.260 +					AppKit,
   1.261 +				);
   1.262 +				PREBINDING = NO;
   1.263 +				PRODUCT_NAME = testshape;
   1.264 +			};
   1.265 +			name = Deployment_native_only;
   1.266 +		};
   1.267 +		4537749912091509002F0F45 /* Default */ = {
   1.268 +			isa = XCBuildConfiguration;
   1.269 +			buildSettings = {
   1.270 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.271 +				GCC_ENABLE_FIX_AND_CONTINUE = YES;
   1.272 +				GCC_MODEL_TUNING = G5;
   1.273 +				GCC_PRECOMPILE_PREFIX_HEADER = YES;
   1.274 +				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
   1.275 +				INFOPLIST_FILE = "testshape-Info.plist";
   1.276 +				INSTALL_PATH = "$(HOME)/Applications";
   1.277 +				OTHER_LDFLAGS = (
   1.278 +					"-framework",
   1.279 +					Foundation,
   1.280 +					"-framework",
   1.281 +					AppKit,
   1.282 +				);
   1.283 +				PREBINDING = NO;
   1.284 +				PRODUCT_NAME = testshape;
   1.285 +			};
   1.286 +			name = Default;
   1.287 +		};
   1.288  /* End XCBuildConfiguration section */
   1.289  
   1.290  /* Begin XCConfigurationList section */
   1.291 @@ -8246,6 +8429,18 @@
   1.292  			defaultConfigurationIsVisible = 0;
   1.293  			defaultConfigurationName = Default;
   1.294  		};
   1.295 +		4537749A1209150C002F0F45 /* Build configuration list for PBXNativeTarget "testshape" */ = {
   1.296 +			isa = XCConfigurationList;
   1.297 +			buildConfigurations = (
   1.298 +				4537749512091509002F0F45 /* Deployment_using_10.4SDK_and_10.6SDK */,
   1.299 +				4537749612091509002F0F45 /* Development_using_10.4SDK_and_10.6SDK */,
   1.300 +				4537749712091509002F0F45 /* Development_native_only */,
   1.301 +				4537749812091509002F0F45 /* Deployment_native_only */,
   1.302 +				4537749912091509002F0F45 /* Default */,
   1.303 +			);
   1.304 +			defaultConfigurationIsVisible = 0;
   1.305 +			defaultConfigurationName = Default;
   1.306 +		};
   1.307  /* End XCConfigurationList section */
   1.308  	};
   1.309  	rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;