comparison Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj @ 4451:033c455bbe99

Refactored automated rwops tests so read and write directories can be more easily customized. The refactored tests were written in recognition that Mac and iPhone current working directories are usually not going to work. Resource directories are in bundles and write directories are restricted to certain areas. In theory, other platforms may have this problem too, hence the refactoring. Also updated the Xcode iPhone project to use 3.2 as the Base SDK, but 3.1 as the Deployment SDK (for iPhone/iPad compatibility.)
author Eric Wing <ewing . public |-at-| gmail . com>
date Sun, 09 May 2010 06:58:30 -0700
parents abd88bbaea2a
children d1d5b665adc5
comparison
equal deleted inserted replaced
4450:abd88bbaea2a 4451:033c455bbe99
32 productName = package; 32 productName = package;
33 }; 33 };
34 /* End PBXAggregateTarget section */ 34 /* End PBXAggregateTarget section */
35 35
36 /* Begin PBXBuildFile section */ 36 /* Begin PBXBuildFile section */
37 001E39A71196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m in Sources */ = {isa = PBXBuildFile; fileRef = 001E39A51196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m */; };
37 006E9852119550FB001DE610 /* audio.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9831119550FB001DE610 /* audio.c */; }; 38 006E9852119550FB001DE610 /* audio.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9831119550FB001DE610 /* audio.c */; };
38 006E9853119550FB001DE610 /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9834119550FB001DE610 /* common.c */; }; 39 006E9853119550FB001DE610 /* common.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9834119550FB001DE610 /* common.c */; };
39 006E9859119550FB001DE610 /* platform.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E983D119550FB001DE610 /* platform.c */; }; 40 006E9859119550FB001DE610 /* platform.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E983D119550FB001DE610 /* platform.c */; };
40 006E985A119550FB001DE610 /* README in Resources */ = {isa = PBXBuildFile; fileRef = 006E983F119550FB001DE610 /* README */; }; 41 006E985A119550FB001DE610 /* README in Resources */ = {isa = PBXBuildFile; fileRef = 006E983F119550FB001DE610 /* README */; };
41 006E985B119550FB001DE610 /* rect.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9841119550FB001DE610 /* rect.c */; }; 42 006E985B119550FB001DE610 /* rect.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9841119550FB001DE610 /* rect.c */; };
42 006E985C119550FB001DE610 /* render.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9844119550FB001DE610 /* render.c */; }; 43 006E985C119550FB001DE610 /* render.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9844119550FB001DE610 /* render.c */; };
43 006E985D119550FB001DE610 /* read in Copy rwops */ = {isa = PBXBuildFile; fileRef = 006E9847119550FB001DE610 /* read */; }; 44 006E985D119550FB001DE610 /* read in Copy rwops */ = {isa = PBXBuildFile; fileRef = 006E9847119550FB001DE610 /* read */; };
44 006E985E119550FB001DE610 /* rwops.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9848119550FB001DE610 /* rwops.c */; }; 45 006E985E119550FB001DE610 /* rwops.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9848119550FB001DE610 /* rwops.c */; };
45 006E985F119550FB001DE610 /* Test_rwopsbundlesupport.m in Sources */ = {isa = PBXBuildFile; fileRef = 006E984B119550FB001DE610 /* Test_rwopsbundlesupport.m */; };
46 006E9860119550FB001DE610 /* SDL_at.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E984C119550FB001DE610 /* SDL_at.c */; }; 46 006E9860119550FB001DE610 /* SDL_at.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E984C119550FB001DE610 /* SDL_at.c */; };
47 006E9861119550FB001DE610 /* surface.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E984F119550FB001DE610 /* surface.c */; }; 47 006E9861119550FB001DE610 /* surface.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E984F119550FB001DE610 /* surface.c */; };
48 006E9862119550FB001DE610 /* testsdl.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9851119550FB001DE610 /* testsdl.c */; }; 48 006E9862119550FB001DE610 /* testsdl.c in Sources */ = {isa = PBXBuildFile; fileRef = 006E9851119550FB001DE610 /* testsdl.c */; };
49 006E986A1195513D001DE610 /* icon.bmp in Resources */ = {isa = PBXBuildFile; fileRef = 006E98631195513D001DE610 /* icon.bmp */; }; 49 006E986A1195513D001DE610 /* icon.bmp in Resources */ = {isa = PBXBuildFile; fileRef = 006E98631195513D001DE610 /* icon.bmp */; };
50 006E986B1195513D001DE610 /* moose.dat in Resources */ = {isa = PBXBuildFile; fileRef = 006E98641195513D001DE610 /* moose.dat */; }; 50 006E986B1195513D001DE610 /* moose.dat in Resources */ = {isa = PBXBuildFile; fileRef = 006E98641195513D001DE610 /* moose.dat */; };
262 runOnlyForDeploymentPostprocessing = 0; 262 runOnlyForDeploymentPostprocessing = 0;
263 }; 263 };
264 /* End PBXCopyFilesBuildPhase section */ 264 /* End PBXCopyFilesBuildPhase section */
265 265
266 /* Begin PBXFileReference section */ 266 /* Begin PBXFileReference section */
267 001E39A51196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestSupportRWops_Cocoa.m; sourceTree = "<group>"; };
268 001E39A61196EE6F00A3F5B8 /* TestSupportRWops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestSupportRWops.h; sourceTree = "<group>"; };
267 006E982211955059001DE610 /* testsdl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testsdl.app; sourceTree = BUILT_PRODUCTS_DIR; }; 269 006E982211955059001DE610 /* testsdl.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testsdl.app; sourceTree = BUILT_PRODUCTS_DIR; };
268 006E982411955059001DE610 /* testsdl-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testsdl-Info.plist"; sourceTree = "<group>"; }; 270 006E982411955059001DE610 /* testsdl-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "testsdl-Info.plist"; sourceTree = "<group>"; };
269 006E9831119550FB001DE610 /* audio.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = audio.c; sourceTree = "<group>"; }; 271 006E9831119550FB001DE610 /* audio.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = audio.c; sourceTree = "<group>"; };
270 006E9832119550FB001DE610 /* audio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = audio.h; sourceTree = "<group>"; }; 272 006E9832119550FB001DE610 /* audio.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = audio.h; sourceTree = "<group>"; };
271 006E9834119550FB001DE610 /* common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = common.c; sourceTree = "<group>"; }; 273 006E9834119550FB001DE610 /* common.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = common.c; sourceTree = "<group>"; };
284 006E9844119550FB001DE610 /* render.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = render.c; sourceTree = "<group>"; }; 286 006E9844119550FB001DE610 /* render.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = render.c; sourceTree = "<group>"; };
285 006E9845119550FB001DE610 /* render.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = render.h; sourceTree = "<group>"; }; 287 006E9845119550FB001DE610 /* render.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = render.h; sourceTree = "<group>"; };
286 006E9847119550FB001DE610 /* read */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = read; sourceTree = "<group>"; }; 288 006E9847119550FB001DE610 /* read */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = read; sourceTree = "<group>"; };
287 006E9848119550FB001DE610 /* rwops.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rwops.c; sourceTree = "<group>"; }; 289 006E9848119550FB001DE610 /* rwops.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rwops.c; sourceTree = "<group>"; };
288 006E9849119550FB001DE610 /* rwops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rwops.h; sourceTree = "<group>"; }; 290 006E9849119550FB001DE610 /* rwops.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = rwops.h; sourceTree = "<group>"; };
289 006E984A119550FB001DE610 /* Test_rwopsbundlesupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Test_rwopsbundlesupport.h; sourceTree = "<group>"; };
290 006E984B119550FB001DE610 /* Test_rwopsbundlesupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Test_rwopsbundlesupport.m; sourceTree = "<group>"; };
291 006E984C119550FB001DE610 /* SDL_at.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = SDL_at.c; path = ../../test/automated/SDL_at.c; sourceTree = SOURCE_ROOT; }; 291 006E984C119550FB001DE610 /* SDL_at.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = SDL_at.c; path = ../../test/automated/SDL_at.c; sourceTree = SOURCE_ROOT; };
292 006E984D119550FB001DE610 /* SDL_at.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_at.h; path = ../../test/automated/SDL_at.h; sourceTree = SOURCE_ROOT; }; 292 006E984D119550FB001DE610 /* SDL_at.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDL_at.h; path = ../../test/automated/SDL_at.h; sourceTree = SOURCE_ROOT; };
293 006E984F119550FB001DE610 /* surface.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = surface.c; sourceTree = "<group>"; }; 293 006E984F119550FB001DE610 /* surface.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = surface.c; sourceTree = "<group>"; };
294 006E9850119550FB001DE610 /* surface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = surface.h; sourceTree = "<group>"; }; 294 006E9850119550FB001DE610 /* surface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = surface.h; sourceTree = "<group>"; };
295 006E9851119550FB001DE610 /* testsdl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testsdl.c; path = ../../test/automated/testsdl.c; sourceTree = SOURCE_ROOT; }; 295 006E9851119550FB001DE610 /* testsdl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = testsdl.c; path = ../../test/automated/testsdl.c; sourceTree = SOURCE_ROOT; };
607 sourceTree = SOURCE_ROOT; 607 sourceTree = SOURCE_ROOT;
608 }; 608 };
609 006E9846119550FB001DE610 /* rwops */ = { 609 006E9846119550FB001DE610 /* rwops */ = {
610 isa = PBXGroup; 610 isa = PBXGroup;
611 children = ( 611 children = (
612 001E39A51196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m */,
613 001E39A61196EE6F00A3F5B8 /* TestSupportRWops.h */,
612 006E9847119550FB001DE610 /* read */, 614 006E9847119550FB001DE610 /* read */,
613 006E9848119550FB001DE610 /* rwops.c */, 615 006E9848119550FB001DE610 /* rwops.c */,
614 006E9849119550FB001DE610 /* rwops.h */, 616 006E9849119550FB001DE610 /* rwops.h */,
615 006E984A119550FB001DE610 /* Test_rwopsbundlesupport.h */,
616 006E984B119550FB001DE610 /* Test_rwopsbundlesupport.m */,
617 ); 617 );
618 name = rwops; 618 name = rwops;
619 path = ../../test/automated/rwops; 619 path = ../../test/automated/rwops;
620 sourceTree = SOURCE_ROOT; 620 sourceTree = SOURCE_ROOT;
621 }; 621 };
692 sourceTree = "<group>"; 692 sourceTree = "<group>";
693 }; 693 };
694 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { 694 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
695 isa = PBXGroup; 695 isa = PBXGroup;
696 children = ( 696 children = (
697 006E982F119550E4001DE610 /* TestResources */,
698 006E982E119550D8001DE610 /* AutomatedTests */,
699 FD99B8BC0DD52E5C00FB1D6B /* Public Headers */, 697 FD99B8BC0DD52E5C00FB1D6B /* Public Headers */,
700 FD99B8BD0DD52E6D00FB1D6B /* Library Source */, 698 FD99B8BD0DD52E6D00FB1D6B /* Library Source */,
699 006E982E119550D8001DE610 /* AutomatedTests */,
700 006E982F119550E4001DE610 /* TestResources */,
701 29B97323FDCFA39411CA2CEA /* Frameworks */, 701 29B97323FDCFA39411CA2CEA /* Frameworks */,
702 19C28FACFE9D520D11CA2CBB /* Products */, 702 19C28FACFE9D520D11CA2CBB /* Products */,
703 006E982411955059001DE610 /* testsdl-Info.plist */, 703 006E982411955059001DE610 /* testsdl-Info.plist */,
704 0098A5841195B5E200343137 /* QuartzCore.framework */, 704 0098A5841195B5E200343137 /* QuartzCore.framework */,
705 ); 705 );
1311 006E9853119550FB001DE610 /* common.c in Sources */, 1311 006E9853119550FB001DE610 /* common.c in Sources */,
1312 006E9859119550FB001DE610 /* platform.c in Sources */, 1312 006E9859119550FB001DE610 /* platform.c in Sources */,
1313 006E985B119550FB001DE610 /* rect.c in Sources */, 1313 006E985B119550FB001DE610 /* rect.c in Sources */,
1314 006E985C119550FB001DE610 /* render.c in Sources */, 1314 006E985C119550FB001DE610 /* render.c in Sources */,
1315 006E985E119550FB001DE610 /* rwops.c in Sources */, 1315 006E985E119550FB001DE610 /* rwops.c in Sources */,
1316 006E985F119550FB001DE610 /* Test_rwopsbundlesupport.m in Sources */,
1317 006E9860119550FB001DE610 /* SDL_at.c in Sources */, 1316 006E9860119550FB001DE610 /* SDL_at.c in Sources */,
1318 006E9861119550FB001DE610 /* surface.c in Sources */, 1317 006E9861119550FB001DE610 /* surface.c in Sources */,
1319 006E9862119550FB001DE610 /* testsdl.c in Sources */, 1318 006E9862119550FB001DE610 /* testsdl.c in Sources */,
1319 001E39A71196EE6F00A3F5B8 /* TestSupportRWops_Cocoa.m in Sources */,
1320 ); 1320 );
1321 runOnlyForDeploymentPostprocessing = 0; 1321 runOnlyForDeploymentPostprocessing = 0;
1322 }; 1322 };
1323 FD6526600DE8FCCB002AD96B /* Sources */ = { 1323 FD6526600DE8FCCB002AD96B /* Sources */ = {
1324 isa = PBXSourcesBuildPhase; 1324 isa = PBXSourcesBuildPhase;
1503 }; 1503 };
1504 C01FCF4F08A954540054247B /* Debug */ = { 1504 C01FCF4F08A954540054247B /* Debug */ = {
1505 isa = XCBuildConfiguration; 1505 isa = XCBuildConfiguration;
1506 buildSettings = { 1506 buildSettings = {
1507 ALWAYS_SEARCH_USER_PATHS = NO; 1507 ALWAYS_SEARCH_USER_PATHS = NO;
1508 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
1509 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1508 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1510 GCC_C_LANGUAGE_STANDARD = c99; 1509 GCC_C_LANGUAGE_STANDARD = c99;
1511 GCC_DEBUGGING_SYMBOLS = full; 1510 GCC_DEBUGGING_SYMBOLS = full;
1512 GCC_WARN_ABOUT_RETURN_TYPE = YES; 1511 GCC_WARN_ABOUT_RETURN_TYPE = YES;
1513 GCC_WARN_UNUSED_VARIABLE = NO; 1512 GCC_WARN_UNUSED_VARIABLE = NO;
1513 IPHONEOS_DEPLOYMENT_TARGET = 3.1;
1514 ONLY_ACTIVE_ARCH = NO; 1514 ONLY_ACTIVE_ARCH = NO;
1515 PREBINDING = NO; 1515 PREBINDING = NO;
1516 SDKROOT = iphoneos3.1.2; 1516 SDKROOT = iphoneos3.2;
1517 TARGETED_DEVICE_FAMILY = "1,2"; 1517 TARGETED_DEVICE_FAMILY = "1,2";
1518 }; 1518 };
1519 name = Debug; 1519 name = Debug;
1520 }; 1520 };
1521 C01FCF5008A954540054247B /* Release */ = { 1521 C01FCF5008A954540054247B /* Release */ = {
1522 isa = XCBuildConfiguration; 1522 isa = XCBuildConfiguration;
1523 buildSettings = { 1523 buildSettings = {
1524 ALWAYS_SEARCH_USER_PATHS = NO; 1524 ALWAYS_SEARCH_USER_PATHS = NO;
1525 ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 1525 ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
1526 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1526 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1527 GCC_C_LANGUAGE_STANDARD = c99; 1527 GCC_C_LANGUAGE_STANDARD = c99;
1528 GCC_WARN_ABOUT_RETURN_TYPE = YES; 1528 GCC_WARN_ABOUT_RETURN_TYPE = YES;
1529 GCC_WARN_UNUSED_VARIABLE = NO; 1529 GCC_WARN_UNUSED_VARIABLE = NO;
1530 IPHONEOS_DEPLOYMENT_TARGET = 3.1;
1530 PREBINDING = NO; 1531 PREBINDING = NO;
1531 SDKROOT = iphoneos3.1.2; 1532 SDKROOT = iphoneos3.2;
1532 TARGETED_DEVICE_FAMILY = "1,2"; 1533 TARGETED_DEVICE_FAMILY = "1,2";
1533 }; 1534 };
1534 name = Release; 1535 name = Release;
1535 }; 1536 };
1536 FD6526640DE8FCCB002AD96B /* Debug */ = { 1537 FD6526640DE8FCCB002AD96B /* Debug */ = {
1537 isa = XCBuildConfiguration; 1538 isa = XCBuildConfiguration;
1538 buildSettings = { 1539 buildSettings = {
1539 ALWAYS_SEARCH_USER_PATHS = NO; 1540 ALWAYS_SEARCH_USER_PATHS = NO;
1540 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
1541 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 1541 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
1542 COPY_PHASE_STRIP = NO; 1542 COPY_PHASE_STRIP = NO;
1543 DEPLOYMENT_LOCATION = NO; 1543 DEPLOYMENT_LOCATION = NO;
1544 GCC_DYNAMIC_NO_PIC = NO; 1544 GCC_DYNAMIC_NO_PIC = NO;
1545 GCC_OPTIMIZATION_LEVEL = 0; 1545 GCC_OPTIMIZATION_LEVEL = 0;
1551 }; 1551 };
1552 FD6526650DE8FCCB002AD96B /* Release */ = { 1552 FD6526650DE8FCCB002AD96B /* Release */ = {
1553 isa = XCBuildConfiguration; 1553 isa = XCBuildConfiguration;
1554 buildSettings = { 1554 buildSettings = {
1555 ALWAYS_SEARCH_USER_PATHS = NO; 1555 ALWAYS_SEARCH_USER_PATHS = NO;
1556 ARCHS = "$(ARCHS_STANDARD_32_BIT)";
1557 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 1556 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
1558 COPY_PHASE_STRIP = YES; 1557 COPY_PHASE_STRIP = YES;
1559 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 1558 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
1560 DEPLOYMENT_LOCATION = NO; 1559 DEPLOYMENT_LOCATION = NO;
1561 GCC_ENABLE_FIX_AND_CONTINUE = NO; 1560 GCC_ENABLE_FIX_AND_CONTINUE = NO;