comparison Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj @ 5077:37b582b8bb07

New iOS Xcode target to build libSDL.a and lipo Simulator & Device binaries together. New iOS Xcode target to prepare an Xcode template using the Universal libSDL.a.
author Eric Wing <ewing . public |-at-| gmail . com>
date Mon, 31 Jan 2011 00:37:38 -0800
parents 02e2c3d18bb8
children 067973aec4d8
comparison
equal deleted inserted replaced
5076:8bf5781fc582 5077:37b582b8bb07
1 // !$*UTF8*$! 1 // !$*UTF8*$!
2 { 2 {
3 archiveVersion = 1; 3 archiveVersion = 1;
4 classes = { 4 classes = {
5 }; 5 };
6 objectVersion = 45; 6 objectVersion = 46;
7 objects = { 7 objects = {
8 8
9 /* Begin PBXAggregateTarget section */ 9 /* Begin PBXAggregateTarget section */
10 0064653F107E3D7400183915 /* Generate Header Files */ = { 10 0064653F107E3D7400183915 /* Generate Header Files */ = {
11 isa = PBXAggregateTarget; 11 isa = PBXAggregateTarget;
17 dependencies = ( 17 dependencies = (
18 ); 18 );
19 name = "Generate Header Files"; 19 name = "Generate Header Files";
20 productName = "Generate Header Files"; 20 productName = "Generate Header Files";
21 }; 21 };
22 FDB043B30E2689CC00F5B3F9 /* Template */ = { 22 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */ = {
23 isa = PBXAggregateTarget; 23 isa = PBXAggregateTarget;
24 buildConfigurationList = FDB043C20E268A0D00F5B3F9 /* Build configuration list for PBXAggregateTarget "Template" */; 24 buildConfigurationList = 00B4F47412F696B30084EC00 /* Build configuration list for PBXAggregateTarget "BuildUniversalSimulatorDevicelibSDL" */;
25 buildPhases = ( 25 buildPhases = (
26 FDB043B20E2689CC00F5B3F9 /* ShellScript */, 26 00B4F47012F696830084EC00 /* ShellScript */,
27 ); 27 );
28 dependencies = ( 28 dependencies = (
29 FDB043BA0E2689E000F5B3F9 /* PBXTargetDependency */, 29 );
30 ); 30 name = BuildUniversalSimulatorDevicelibSDL;
31 name = Template; 31 productName = "Build Universal Simulator/Device libSDL";
32 productName = package; 32 };
33 00B4F48B12F6A69C0084EC00 /* PrepareXcodeProjectTemplate */ = {
34 isa = PBXAggregateTarget;
35 buildConfigurationList = 00B4F48E12F6A6BA0084EC00 /* Build configuration list for PBXAggregateTarget "PrepareXcodeProjectTemplate" */;
36 buildPhases = (
37 00B4F48A12F6A69C0084EC00 /* ShellScript */,
38 );
39 dependencies = (
40 00B4F4B112F6A9F00084EC00 /* PBXTargetDependency */,
41 00B4F49712F6A7B00084EC00 /* PBXTargetDependency */,
42 );
43 name = PrepareXcodeProjectTemplate;
44 productName = PrepareXcodeProjectTemplate;
33 }; 45 };
34 /* End PBXAggregateTarget section */ 46 /* End PBXAggregateTarget section */
35 47
36 /* Begin PBXBuildFile section */ 48 /* Begin PBXBuildFile section */
37 001E39A71196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m in Sources */ = {isa = PBXBuildFile; fileRef = 001E39A51196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m */; }; 49 001E39A71196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m in Sources */ = {isa = PBXBuildFile; fileRef = 001E39A51196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m */; };
53 006E986E1195513D001DE610 /* sample.bmp in Resources */ = {isa = PBXBuildFile; fileRef = 006E98671195513D001DE610 /* sample.bmp */; }; 65 006E986E1195513D001DE610 /* sample.bmp in Resources */ = {isa = PBXBuildFile; fileRef = 006E98671195513D001DE610 /* sample.bmp */; };
54 006E986F1195513D001DE610 /* sample.wav in Resources */ = {isa = PBXBuildFile; fileRef = 006E98681195513D001DE610 /* sample.wav */; }; 66 006E986F1195513D001DE610 /* sample.wav in Resources */ = {isa = PBXBuildFile; fileRef = 006E98681195513D001DE610 /* sample.wav */; };
55 006E98701195513D001DE610 /* utf8.txt in Resources */ = {isa = PBXBuildFile; fileRef = 006E98691195513D001DE610 /* utf8.txt */; }; 67 006E98701195513D001DE610 /* utf8.txt in Resources */ = {isa = PBXBuildFile; fileRef = 006E98691195513D001DE610 /* utf8.txt */; };
56 006E9888119552DD001DE610 /* SDL_rwopsbundlesupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 006E9886119552DD001DE610 /* SDL_rwopsbundlesupport.h */; }; 68 006E9888119552DD001DE610 /* SDL_rwopsbundlesupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 006E9886119552DD001DE610 /* SDL_rwopsbundlesupport.h */; };
57 006E9889119552DD001DE610 /* SDL_rwopsbundlesupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 006E9887119552DD001DE610 /* SDL_rwopsbundlesupport.m */; }; 69 006E9889119552DD001DE610 /* SDL_rwopsbundlesupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 006E9887119552DD001DE610 /* SDL_rwopsbundlesupport.m */; };
58 006E988C119552FC001DE610 /* libSDLiPhoneOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */; }; 70 006E988C119552FC001DE610 /* libSDL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FD6526630DE8FCCB002AD96B /* libSDL.a */; };
59 0098A55B1195B4D900343137 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A55A1195B4D900343137 /* AudioToolbox.framework */; }; 71 0098A55B1195B4D900343137 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A55A1195B4D900343137 /* AudioToolbox.framework */; };
60 0098A55F1195B4D900343137 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A55E1195B4D900343137 /* CoreAudio.framework */; }; 72 0098A55F1195B4D900343137 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A55E1195B4D900343137 /* CoreAudio.framework */; };
61 0098A5611195B4D900343137 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5601195B4D900343137 /* CoreGraphics.framework */; }; 73 0098A5611195B4D900343137 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5601195B4D900343137 /* CoreGraphics.framework */; };
62 0098A5631195B4D900343137 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5621195B4D900343137 /* OpenGLES.framework */; }; 74 0098A5631195B4D900343137 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5621195B4D900343137 /* OpenGLES.framework */; };
63 0098A5651195B4D900343137 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5641195B4D900343137 /* UIKit.framework */; }; 75 0098A5651195B4D900343137 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0098A5641195B4D900343137 /* UIKit.framework */; };
253 containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; 265 containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
254 proxyType = 1; 266 proxyType = 1;
255 remoteGlobalIDString = FD6526620DE8FCCB002AD96B; 267 remoteGlobalIDString = FD6526620DE8FCCB002AD96B;
256 remoteInfo = StaticLibiPhoneOS; 268 remoteInfo = StaticLibiPhoneOS;
257 }; 269 };
258 FDB043B90E2689E000F5B3F9 /* PBXContainerItemProxy */ = { 270 00B4F49612F6A7B00084EC00 /* PBXContainerItemProxy */ = {
259 isa = PBXContainerItemProxy; 271 isa = PBXContainerItemProxy;
260 containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; 272 containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
261 proxyType = 1; 273 proxyType = 1;
262 remoteGlobalIDString = FD6526620DE8FCCB002AD96B; 274 remoteGlobalIDString = 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */;
263 remoteInfo = StaticLibiPhoneOS; 275 remoteInfo = BuildUniversalSimulatorDevicelibSDL;
276 };
277 00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */ = {
278 isa = PBXContainerItemProxy;
279 containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
280 proxyType = 1;
281 remoteGlobalIDString = 0064653F107E3D7400183915 /* Generate Header Files */;
282 remoteInfo = "Generate Header Files";
264 }; 283 };
265 /* End PBXContainerItemProxy section */ 284 /* End PBXContainerItemProxy section */
266 285
267 /* Begin PBXCopyFilesBuildPhase section */ 286 /* Begin PBXCopyFilesBuildPhase section */
268 006E9881119551D0001DE610 /* Copy rwops */ = { 287 006E9881119551D0001DE610 /* Copy rwops */ = {
380 FD3F4A740DEA620800C5B771 /* SDL_stdlib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_stdlib.c; sourceTree = "<group>"; }; 399 FD3F4A740DEA620800C5B771 /* SDL_stdlib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_stdlib.c; sourceTree = "<group>"; };
381 FD3F4A750DEA620800C5B771 /* SDL_string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_string.c; sourceTree = "<group>"; }; 400 FD3F4A750DEA620800C5B771 /* SDL_string.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_string.c; sourceTree = "<group>"; };
382 FD5F9D1E0E0E08B3008E885B /* SDL_joystick.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_joystick.c; sourceTree = "<group>"; }; 401 FD5F9D1E0E0E08B3008E885B /* SDL_joystick.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_joystick.c; sourceTree = "<group>"; };
383 FD5F9D1F0E0E08B3008E885B /* SDL_joystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_joystick_c.h; sourceTree = "<group>"; }; 402 FD5F9D1F0E0E08B3008E885B /* SDL_joystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_joystick_c.h; sourceTree = "<group>"; };
384 FD5F9D200E0E08B3008E885B /* SDL_sysjoystick.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sysjoystick.h; sourceTree = "<group>"; }; 403 FD5F9D200E0E08B3008E885B /* SDL_sysjoystick.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sysjoystick.h; sourceTree = "<group>"; };
385 FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDLiPhoneOS.a; sourceTree = BUILT_PRODUCTS_DIR; }; 404 FD6526630DE8FCCB002AD96B /* libSDL.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL.a; sourceTree = BUILT_PRODUCTS_DIR; };
386 FD689EF90E26E57800F90B21 /* SDL_coreaudio_iphone.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_coreaudio_iphone.c; sourceTree = "<group>"; }; 405 FD689EF90E26E57800F90B21 /* SDL_coreaudio_iphone.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_coreaudio_iphone.c; sourceTree = "<group>"; };
387 FD689EFA0E26E57800F90B21 /* SDL_coreaudio_iphone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_coreaudio_iphone.h; sourceTree = "<group>"; }; 406 FD689EFA0E26E57800F90B21 /* SDL_coreaudio_iphone.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_coreaudio_iphone.h; sourceTree = "<group>"; };
388 FD689F000E26E5B600F90B21 /* SDL_sysjoystick.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_sysjoystick.m; sourceTree = "<group>"; }; 407 FD689F000E26E5B600F90B21 /* SDL_sysjoystick.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_sysjoystick.m; sourceTree = "<group>"; };
389 FD689F010E26E5B600F90B21 /* SDLUIAccelerationDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDLUIAccelerationDelegate.h; sourceTree = "<group>"; }; 408 FD689F010E26E5B600F90B21 /* SDLUIAccelerationDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDLUIAccelerationDelegate.h; sourceTree = "<group>"; };
390 FD689F020E26E5B600F90B21 /* SDLUIAccelerationDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDLUIAccelerationDelegate.m; sourceTree = "<group>"; }; 409 FD689F020E26E5B600F90B21 /* SDLUIAccelerationDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDLUIAccelerationDelegate.m; sourceTree = "<group>"; };
533 /* Begin PBXFrameworksBuildPhase section */ 552 /* Begin PBXFrameworksBuildPhase section */
534 006E982011955059001DE610 /* Frameworks */ = { 553 006E982011955059001DE610 /* Frameworks */ = {
535 isa = PBXFrameworksBuildPhase; 554 isa = PBXFrameworksBuildPhase;
536 buildActionMask = 2147483647; 555 buildActionMask = 2147483647;
537 files = ( 556 files = (
538 006E988C119552FC001DE610 /* libSDLiPhoneOS.a in Frameworks */, 557 006E988C119552FC001DE610 /* libSDL.a in Frameworks */,
539 0098A55B1195B4D900343137 /* AudioToolbox.framework in Frameworks */, 558 0098A55B1195B4D900343137 /* AudioToolbox.framework in Frameworks */,
540 0098A55F1195B4D900343137 /* CoreAudio.framework in Frameworks */, 559 0098A55F1195B4D900343137 /* CoreAudio.framework in Frameworks */,
541 0098A5611195B4D900343137 /* CoreGraphics.framework in Frameworks */, 560 0098A5611195B4D900343137 /* CoreGraphics.framework in Frameworks */,
542 0098A5631195B4D900343137 /* OpenGLES.framework in Frameworks */, 561 0098A5631195B4D900343137 /* OpenGLES.framework in Frameworks */,
543 0098A5651195B4D900343137 /* UIKit.framework in Frameworks */, 562 0098A5651195B4D900343137 /* UIKit.framework in Frameworks */,
706 sourceTree = SOURCE_ROOT; 725 sourceTree = SOURCE_ROOT;
707 }; 726 };
708 19C28FACFE9D520D11CA2CBB /* Products */ = { 727 19C28FACFE9D520D11CA2CBB /* Products */ = {
709 isa = PBXGroup; 728 isa = PBXGroup;
710 children = ( 729 children = (
711 FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */, 730 FD6526630DE8FCCB002AD96B /* libSDL.a */,
712 006E982211955059001DE610 /* testsdl.app */, 731 006E982211955059001DE610 /* testsdl.app */,
713 ); 732 );
714 name = Products; 733 name = Products;
715 sourceTree = "<group>"; 734 sourceTree = "<group>";
716 }; 735 };
1243 name = testsdl; 1262 name = testsdl;
1244 productName = testsdl; 1263 productName = testsdl;
1245 productReference = 006E982211955059001DE610 /* testsdl.app */; 1264 productReference = 006E982211955059001DE610 /* testsdl.app */;
1246 productType = "com.apple.product-type.application"; 1265 productType = "com.apple.product-type.application";
1247 }; 1266 };
1248 FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */ = { 1267 FD6526620DE8FCCB002AD96B /* libSDL */ = {
1249 isa = PBXNativeTarget; 1268 isa = PBXNativeTarget;
1250 buildConfigurationList = FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "StaticLibiPhoneOS" */; 1269 buildConfigurationList = FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "libSDL" */;
1251 buildPhases = ( 1270 buildPhases = (
1252 FD65265F0DE8FCCB002AD96B /* Headers */, 1271 FD65265F0DE8FCCB002AD96B /* Headers */,
1253 FD6526600DE8FCCB002AD96B /* Sources */, 1272 FD6526600DE8FCCB002AD96B /* Sources */,
1254 ); 1273 );
1255 buildRules = ( 1274 buildRules = (
1256 ); 1275 );
1257 dependencies = ( 1276 dependencies = (
1258 00646548107E3DE800183915 /* PBXTargetDependency */, 1277 00646548107E3DE800183915 /* PBXTargetDependency */,
1259 ); 1278 );
1260 name = StaticLibiPhoneOS; 1279 name = libSDL;
1261 productName = iPhoneSDLStaticLib; 1280 productName = iPhoneSDLStaticLib;
1262 productReference = FD6526630DE8FCCB002AD96B /* libSDLiPhoneOS.a */; 1281 productReference = FD6526630DE8FCCB002AD96B /* libSDL.a */;
1263 productType = "com.apple.product-type.library.static"; 1282 productType = "com.apple.product-type.library.static";
1264 }; 1283 };
1265 /* End PBXNativeTarget section */ 1284 /* End PBXNativeTarget section */
1266 1285
1267 /* Begin PBXProject section */ 1286 /* Begin PBXProject section */
1268 29B97313FDCFA39411CA2CEA /* Project object */ = { 1287 29B97313FDCFA39411CA2CEA /* Project object */ = {
1269 isa = PBXProject; 1288 isa = PBXProject;
1270 buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */; 1289 buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */;
1271 compatibilityVersion = "Xcode 3.1"; 1290 compatibilityVersion = "Xcode 3.2";
1272 developmentRegion = English; 1291 developmentRegion = English;
1273 hasScannedForEncodings = 1; 1292 hasScannedForEncodings = 1;
1274 knownRegions = ( 1293 knownRegions = (
1275 English, 1294 English,
1276 Japanese, 1295 Japanese,
1279 ); 1298 );
1280 mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; 1299 mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
1281 projectDirPath = ""; 1300 projectDirPath = "";
1282 projectRoot = ../..; 1301 projectRoot = ../..;
1283 targets = ( 1302 targets = (
1284 FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */, 1303 FD6526620DE8FCCB002AD96B /* libSDL */,
1285 0064653F107E3D7400183915 /* Generate Header Files */, 1304 0064653F107E3D7400183915 /* Generate Header Files */,
1286 FDB043B30E2689CC00F5B3F9 /* Template */,
1287 006E982111955059001DE610 /* testsdl */, 1305 006E982111955059001DE610 /* testsdl */,
1306 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */,
1307 00B4F48B12F6A69C0084EC00 /* PrepareXcodeProjectTemplate */,
1288 ); 1308 );
1289 }; 1309 };
1290 /* End PBXProject section */ 1310 /* End PBXProject section */
1291 1311
1292 /* Begin PBXResourcesBuildPhase section */ 1312 /* Begin PBXResourcesBuildPhase section */
1339 ); 1359 );
1340 runOnlyForDeploymentPostprocessing = 0; 1360 runOnlyForDeploymentPostprocessing = 0;
1341 shellPath = /bin/sh; 1361 shellPath = /bin/sh;
1342 shellScript = "if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nif test -f ~/.bashrc; then source ~/.bashrc; fi\nsh ../../build-scripts/updaterev.sh"; 1362 shellScript = "if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nif test -f ~/.bashrc; then source ~/.bashrc; fi\nsh ../../build-scripts/updaterev.sh";
1343 }; 1363 };
1344 FDB043B20E2689CC00F5B3F9 /* ShellScript */ = { 1364 00B4F47012F696830084EC00 /* ShellScript */ = {
1345 isa = PBXShellScriptBuildPhase; 1365 isa = PBXShellScriptBuildPhase;
1346 buildActionMask = 12; 1366 buildActionMask = 2147483647;
1347 files = ( 1367 files = (
1348 ); 1368 );
1349 inputPaths = ( 1369 inputPaths = (
1370 "$(SYMROOT)/$(CONFIGURATION)-iphonesimulator/libSDL.a",
1371 "$(SYMROOT)/$(CONFIGURATION)-iphoneos/libSDL.a",
1350 ); 1372 );
1351 outputPaths = ( 1373 outputPaths = (
1374 "$(SYMROOT)/libSDL.a",
1352 ); 1375 );
1353 runOnlyForDeploymentPostprocessing = 0; 1376 runOnlyForDeploymentPostprocessing = 0;
1354 shellPath = /bin/sh; 1377 shellPath = /bin/sh;
1355 shellScript = "# clean up the framework, remove headers, extra files\n\ntemp=$BUILD_DIR/$BUILD_STYLE-template\ndest=\"/Developer/Platforms/iPhoneOS.platform/Developer/Library/XCode/Project Templates/SDL\"\ntemplate_dir_name=\"SDL Application\"\n\nrsync_flags=\"--exclude *.svn --links -r\"\n\n# mkdir -p $dest\nmkdir -p $temp\nmkdir -p \"$temp/$template_dir_name/lib/\"\nmkdir -p \"$temp/$template_dir_name/include\"\n\n#copy template\nrsync $rsync_flags \"../template/$template_dir_name\" $temp/\n\n#copy iPhone OS library\nrsync $rsync_flags -r $BUILD_DIR/$BUILD_STYLE-iphoneos/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/\"\n\n#copy iPhone Simulator Lib\nrsync $rsync_flags -r $BUILD_DIR/$BUILD_STYLE-iphonesimulator/libSDLSimulator.a \"$temp/$template_dir_name/lib/\"\n\n#copy headers\nrsync $rsync_flags ../../include/ \"$temp/$template_dir_name/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\""; 1378 shellScript = "# Build the simulator binary\n# xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration Release -sdk iphonesimulator\nxcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration $CONFIGURATION -sdk iphonesimulator\n\n# Build the device binary\n# xcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration Release -sdk iphoneos\nxcodebuild -project SDLiPhoneOS.xcodeproj -target libSDL -configuration $CONFIGURATION -sdk iphoneos\n\n# create a simulator/device fat binary from the 2 separate builds\nlipo $SYMROOT/$CONFIGURATION-iphonesimulator/libSDL.a $SYMROOT/$CONFIGURATION-iphoneos/libSDL.a -output $SYMROOT/libSDL.a -create\n\necho \"Created Universal Simulator/Device binary at $SYMROOT/libSDL.a\"\n\n\nexit 0\n";
1379 };
1380 00B4F48A12F6A69C0084EC00 /* ShellScript */ = {
1381 isa = PBXShellScriptBuildPhase;
1382 buildActionMask = 2147483647;
1383 files = (
1384 );
1385 inputPaths = (
1386 );
1387 outputPaths = (
1388 );
1389 runOnlyForDeploymentPostprocessing = 0;
1390 shellPath = /bin/sh;
1391 shellScript = "# clean up the framework, remove headers, extra files\n\ntemp=$BUILD_DIR/$BUILD_STYLE-template\n# Wrong! 1. Can't assume location of Xcode directory (use xcode-select)\n# 2. Project templates should go in Application Support directories anyway.\ntemplate_dir_name=\"SDL iOS Application\"\n# dest=\"$(HOME)/Library/Application Support/Developer/Shared/Xcode/Project Templates/SDL/SDL iOS Application\"\nrsync_flags=\"--exclude *.svn --links -r\"\n\n# mkdir -p $dest\nmkdir -p $temp\nmkdir -p \"$temp/$template_dir_name/SDL/lib/\"\nmkdir -p \"$temp/$template_dir_name/SDL/include\"\n\n# copy template\nrsync $rsync_flags \"../template/$template_dir_name\" $temp/\n\n# copy Universal libSDL.a\nrsync $rsync_flags -r $SYMROOT/libSDL.a \"$temp/$template_dir_name/SDL/lib/\"\n\n# copy headers\nrsync $rsync_flags ../../include/ \"$temp/$template_dir_name/SDL/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\"";
1356 }; 1392 };
1357 /* End PBXShellScriptBuildPhase section */ 1393 /* End PBXShellScriptBuildPhase section */
1358 1394
1359 /* Begin PBXSourcesBuildPhase section */ 1395 /* Begin PBXSourcesBuildPhase section */
1360 006E981F11955059001DE610 /* Sources */ = { 1396 006E981F11955059001DE610 /* Sources */ = {
1481 target = 0064653F107E3D7400183915 /* Generate Header Files */; 1517 target = 0064653F107E3D7400183915 /* Generate Header Files */;
1482 targetProxy = 00646547107E3DE800183915 /* PBXContainerItemProxy */; 1518 targetProxy = 00646547107E3DE800183915 /* PBXContainerItemProxy */;
1483 }; 1519 };
1484 006E982B11955065001DE610 /* PBXTargetDependency */ = { 1520 006E982B11955065001DE610 /* PBXTargetDependency */ = {
1485 isa = PBXTargetDependency; 1521 isa = PBXTargetDependency;
1486 target = FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */; 1522 target = FD6526620DE8FCCB002AD96B /* libSDL */;
1487 targetProxy = 006E982A11955065001DE610 /* PBXContainerItemProxy */; 1523 targetProxy = 006E982A11955065001DE610 /* PBXContainerItemProxy */;
1488 }; 1524 };
1489 FDB043BA0E2689E000F5B3F9 /* PBXTargetDependency */ = { 1525 00B4F49712F6A7B00084EC00 /* PBXTargetDependency */ = {
1490 isa = PBXTargetDependency; 1526 isa = PBXTargetDependency;
1491 target = FD6526620DE8FCCB002AD96B /* StaticLibiPhoneOS */; 1527 target = 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */;
1492 targetProxy = FDB043B90E2689E000F5B3F9 /* PBXContainerItemProxy */; 1528 targetProxy = 00B4F49612F6A7B00084EC00 /* PBXContainerItemProxy */;
1529 };
1530 00B4F4B112F6A9F00084EC00 /* PBXTargetDependency */ = {
1531 isa = PBXTargetDependency;
1532 target = 0064653F107E3D7400183915 /* Generate Header Files */;
1533 targetProxy = 00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */;
1493 }; 1534 };
1494 /* End PBXTargetDependency section */ 1535 /* End PBXTargetDependency section */
1495 1536
1496 /* Begin XCBuildConfiguration section */ 1537 /* Begin XCBuildConfiguration section */
1497 00646540107E3D7500183915 /* Debug */ = { 1538 00646540107E3D7500183915 /* Debug */ = {
1558 PRODUCT_NAME = testsdl; 1599 PRODUCT_NAME = testsdl;
1559 ZERO_LINK = NO; 1600 ZERO_LINK = NO;
1560 }; 1601 };
1561 name = Release; 1602 name = Release;
1562 }; 1603 };
1604 00B4F47212F696830084EC00 /* Debug */ = {
1605 isa = XCBuildConfiguration;
1606 buildSettings = {
1607 COPY_PHASE_STRIP = NO;
1608 GCC_DYNAMIC_NO_PIC = NO;
1609 GCC_OPTIMIZATION_LEVEL = 0;
1610 PRODUCT_NAME = BuildUniversalSimulatorDevicelibSDL;
1611 };
1612 name = Debug;
1613 };
1614 00B4F47312F696830084EC00 /* Release */ = {
1615 isa = XCBuildConfiguration;
1616 buildSettings = {
1617 COPY_PHASE_STRIP = YES;
1618 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1619 GCC_ENABLE_FIX_AND_CONTINUE = NO;
1620 PRODUCT_NAME = BuildUniversalSimulatorDevicelibSDL;
1621 ZERO_LINK = NO;
1622 };
1623 name = Release;
1624 };
1625 00B4F48C12F6A69C0084EC00 /* Debug */ = {
1626 isa = XCBuildConfiguration;
1627 buildSettings = {
1628 COPY_PHASE_STRIP = NO;
1629 GCC_DYNAMIC_NO_PIC = NO;
1630 GCC_OPTIMIZATION_LEVEL = 0;
1631 PRODUCT_NAME = PrepareXcodeProjectTemplate;
1632 };
1633 name = Debug;
1634 };
1635 00B4F48D12F6A69C0084EC00 /* Release */ = {
1636 isa = XCBuildConfiguration;
1637 buildSettings = {
1638 COPY_PHASE_STRIP = YES;
1639 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1640 GCC_ENABLE_FIX_AND_CONTINUE = NO;
1641 PRODUCT_NAME = PrepareXcodeProjectTemplate;
1642 ZERO_LINK = NO;
1643 };
1644 name = Release;
1645 };
1563 C01FCF4F08A954540054247B /* Debug */ = { 1646 C01FCF4F08A954540054247B /* Debug */ = {
1564 isa = XCBuildConfiguration; 1647 isa = XCBuildConfiguration;
1565 buildSettings = { 1648 buildSettings = {
1566 ALWAYS_SEARCH_USER_PATHS = NO; 1649 ALWAYS_SEARCH_USER_PATHS = NO;
1650 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
1567 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1651 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1568 GCC_C_LANGUAGE_STANDARD = c99; 1652 GCC_C_LANGUAGE_STANDARD = c99;
1569 GCC_DEBUGGING_SYMBOLS = full; 1653 GCC_DEBUGGING_SYMBOLS = full;
1570 GCC_WARN_ABOUT_RETURN_TYPE = YES; 1654 GCC_WARN_ABOUT_RETURN_TYPE = YES;
1571 GCC_WARN_UNUSED_VARIABLE = NO; 1655 GCC_WARN_UNUSED_VARIABLE = NO;
1579 }; 1663 };
1580 C01FCF5008A954540054247B /* Release */ = { 1664 C01FCF5008A954540054247B /* Release */ = {
1581 isa = XCBuildConfiguration; 1665 isa = XCBuildConfiguration;
1582 buildSettings = { 1666 buildSettings = {
1583 ALWAYS_SEARCH_USER_PATHS = NO; 1667 ALWAYS_SEARCH_USER_PATHS = NO;
1584 ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)"; 1668 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
1585 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1669 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1586 GCC_C_LANGUAGE_STANDARD = c99; 1670 GCC_C_LANGUAGE_STANDARD = c99;
1587 GCC_WARN_ABOUT_RETURN_TYPE = YES; 1671 GCC_WARN_ABOUT_RETURN_TYPE = YES;
1588 GCC_WARN_UNUSED_VARIABLE = NO; 1672 GCC_WARN_UNUSED_VARIABLE = NO;
1589 IPHONEOS_DEPLOYMENT_TARGET = 3.1; 1673 IPHONEOS_DEPLOYMENT_TARGET = 3.1;
1595 }; 1679 };
1596 FD6526640DE8FCCB002AD96B /* Debug */ = { 1680 FD6526640DE8FCCB002AD96B /* Debug */ = {
1597 isa = XCBuildConfiguration; 1681 isa = XCBuildConfiguration;
1598 buildSettings = { 1682 buildSettings = {
1599 ALWAYS_SEARCH_USER_PATHS = NO; 1683 ALWAYS_SEARCH_USER_PATHS = NO;
1600 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
1601 COPY_PHASE_STRIP = NO; 1684 COPY_PHASE_STRIP = NO;
1602 DEPLOYMENT_LOCATION = NO; 1685 DEPLOYMENT_LOCATION = NO;
1603 GCC_DYNAMIC_NO_PIC = NO; 1686 GCC_DYNAMIC_NO_PIC = NO;
1604 GCC_OPTIMIZATION_LEVEL = 0; 1687 GCC_OPTIMIZATION_LEVEL = 0;
1605 PREBINDING = NO; 1688 PREBINDING = NO;
1606 PRODUCT_NAME = SDLiPhoneOS; 1689 PRODUCT_NAME = SDL;
1607 SKIP_INSTALL = YES; 1690 SKIP_INSTALL = YES;
1608 }; 1691 };
1609 name = Debug; 1692 name = Debug;
1610 }; 1693 };
1611 FD6526650DE8FCCB002AD96B /* Release */ = { 1694 FD6526650DE8FCCB002AD96B /* Release */ = {
1612 isa = XCBuildConfiguration; 1695 isa = XCBuildConfiguration;
1613 buildSettings = { 1696 buildSettings = {
1614 ALWAYS_SEARCH_USER_PATHS = NO; 1697 ALWAYS_SEARCH_USER_PATHS = NO;
1615 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
1616 COPY_PHASE_STRIP = YES; 1698 COPY_PHASE_STRIP = YES;
1617 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1699 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1618 DEPLOYMENT_LOCATION = NO; 1700 DEPLOYMENT_LOCATION = NO;
1619 GCC_ENABLE_FIX_AND_CONTINUE = NO; 1701 GCC_ENABLE_FIX_AND_CONTINUE = NO;
1620 PREBINDING = NO; 1702 PREBINDING = NO;
1621 PRODUCT_NAME = SDLiPhoneOS; 1703 PRODUCT_NAME = SDL;
1622 SKIP_INSTALL = YES; 1704 SKIP_INSTALL = YES;
1623 ZERO_LINK = NO; 1705 ZERO_LINK = NO;
1624 };
1625 name = Release;
1626 };
1627 FDB043B40E2689CC00F5B3F9 /* Debug */ = {
1628 isa = XCBuildConfiguration;
1629 buildSettings = {
1630 ARCHS = "";
1631 PRODUCT_NAME = Template;
1632 };
1633 name = Debug;
1634 };
1635 FDB043B50E2689CC00F5B3F9 /* Release */ = {
1636 isa = XCBuildConfiguration;
1637 buildSettings = {
1638 ARCHS = "";
1639 PRODUCT_NAME = Template;
1640 }; 1706 };
1641 name = Release; 1707 name = Release;
1642 }; 1708 };
1643 /* End XCBuildConfiguration section */ 1709 /* End XCBuildConfiguration section */
1644 1710
1659 006E98261195505B001DE610 /* Release */, 1725 006E98261195505B001DE610 /* Release */,
1660 ); 1726 );
1661 defaultConfigurationIsVisible = 0; 1727 defaultConfigurationIsVisible = 0;
1662 defaultConfigurationName = Release; 1728 defaultConfigurationName = Release;
1663 }; 1729 };
1730 00B4F47412F696B30084EC00 /* Build configuration list for PBXAggregateTarget "BuildUniversalSimulatorDevicelibSDL" */ = {
1731 isa = XCConfigurationList;
1732 buildConfigurations = (
1733 00B4F47212F696830084EC00 /* Debug */,
1734 00B4F47312F696830084EC00 /* Release */,
1735 );
1736 defaultConfigurationIsVisible = 0;
1737 defaultConfigurationName = Release;
1738 };
1739 00B4F48E12F6A6BA0084EC00 /* Build configuration list for PBXAggregateTarget "PrepareXcodeProjectTemplate" */ = {
1740 isa = XCConfigurationList;
1741 buildConfigurations = (
1742 00B4F48C12F6A69C0084EC00 /* Debug */,
1743 00B4F48D12F6A69C0084EC00 /* Release */,
1744 );
1745 defaultConfigurationIsVisible = 0;
1746 defaultConfigurationName = Release;
1747 };
1664 C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */ = { 1748 C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SDLiPhoneOS" */ = {
1665 isa = XCConfigurationList; 1749 isa = XCConfigurationList;
1666 buildConfigurations = ( 1750 buildConfigurations = (
1667 C01FCF4F08A954540054247B /* Debug */, 1751 C01FCF4F08A954540054247B /* Debug */,
1668 C01FCF5008A954540054247B /* Release */, 1752 C01FCF5008A954540054247B /* Release */,
1669 ); 1753 );
1670 defaultConfigurationIsVisible = 0; 1754 defaultConfigurationIsVisible = 0;
1671 defaultConfigurationName = Release; 1755 defaultConfigurationName = Release;
1672 }; 1756 };
1673 FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "StaticLibiPhoneOS" */ = { 1757 FD6526990DE8FD14002AD96B /* Build configuration list for PBXNativeTarget "libSDL" */ = {
1674 isa = XCConfigurationList; 1758 isa = XCConfigurationList;
1675 buildConfigurations = ( 1759 buildConfigurations = (
1676 FD6526640DE8FCCB002AD96B /* Debug */, 1760 FD6526640DE8FCCB002AD96B /* Debug */,
1677 FD6526650DE8FCCB002AD96B /* Release */, 1761 FD6526650DE8FCCB002AD96B /* Release */,
1678 ); 1762 );
1679 defaultConfigurationIsVisible = 0; 1763 defaultConfigurationIsVisible = 0;
1680 defaultConfigurationName = Release; 1764 defaultConfigurationName = Release;
1681 }; 1765 };
1682 FDB043C20E268A0D00F5B3F9 /* Build configuration list for PBXAggregateTarget "Template" */ = {
1683 isa = XCConfigurationList;
1684 buildConfigurations = (
1685 FDB043B40E2689CC00F5B3F9 /* Debug */,
1686 FDB043B50E2689CC00F5B3F9 /* Release */,
1687 );
1688 defaultConfigurationIsVisible = 0;
1689 defaultConfigurationName = Release;
1690 };
1691 /* End XCConfigurationList section */ 1766 /* End XCConfigurationList section */
1692 }; 1767 };
1693 rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; 1768 rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
1694 } 1769 }