Mercurial > sdl-ios-xcode
comparison XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj @ 2464:836790b9fcf1 gsoc2008_iphone
modified template build script
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Mon, 18 Aug 2008 18:27:00 +0000 |
parents | 5788d70cd280 |
children | 5b3864b77e2a |
comparison
equal
deleted
inserted
replaced
2463:5788d70cd280 | 2464:836790b9fcf1 |
---|---|
1225 ); | 1225 ); |
1226 outputPaths = ( | 1226 outputPaths = ( |
1227 ); | 1227 ); |
1228 runOnlyForDeploymentPostprocessing = 0; | 1228 runOnlyForDeploymentPostprocessing = 0; |
1229 shellPath = /bin/sh; | 1229 shellPath = /bin/sh; |
1230 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\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\ncp -r \"../template/$template_dir_name\" $temp/\n\n#copy iPhone OS library\ncp -r $BUILD_DIR/$BUILD_STYLE-iphoneos/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/\"\n\n#copy iPhone Simulator Lib\ncp -r $BUILD_DIR/$BUILD_STYLE-iphonesimulator/libSDLSimulator.a \"$temp/$template_dir_name/lib/\"\n\n#copy headers\nrsync --exclude=*.svn -r ../../include/*.h \"$temp/$template_dir_name/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\""; | 1230 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\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 --exclude=*.svn -r \"../template/$template_dir_name\" $temp/\n\n#copy iPhone OS library\nrsync --exclude=*.svn -r $BUILD_DIR/$BUILD_STYLE-iphoneos/libSDLiPhoneOS.a \"$temp/$template_dir_name/lib/\"\n\n#copy iPhone Simulator Lib\nrsync --exclude=*.svn -r $BUILD_DIR/$BUILD_STYLE-iphonesimulator/libSDLSimulator.a \"$temp/$template_dir_name/lib/\"\n\n#copy headers\nrsync --exclude=*.svn -r ../../include/*.h \"$temp/$template_dir_name/include\"\n\n#install (nah, don't install)\n# cp -fr \"$temp/$template_dir_name\" \"$dest\""; |
1231 }; | 1231 }; |
1232 /* End PBXShellScriptBuildPhase section */ | 1232 /* End PBXShellScriptBuildPhase section */ |
1233 | 1233 |
1234 /* Begin PBXSourcesBuildPhase section */ | 1234 /* Begin PBXSourcesBuildPhase section */ |
1235 FD6526600DE8FCCB002AD96B /* Sources */ = { | 1235 FD6526600DE8FCCB002AD96B /* Sources */ = { |
1479 name = Release; | 1479 name = Release; |
1480 }; | 1480 }; |
1481 FDB043B40E2689CC00F5B3F9 /* Debug */ = { | 1481 FDB043B40E2689CC00F5B3F9 /* Debug */ = { |
1482 isa = XCBuildConfiguration; | 1482 isa = XCBuildConfiguration; |
1483 buildSettings = { | 1483 buildSettings = { |
1484 ARCHS = ( | |
1485 i386, | |
1486 armv6, | |
1487 ); | |
1488 COPY_PHASE_STRIP = NO; | |
1489 GCC_DYNAMIC_NO_PIC = NO; | |
1490 GCC_OPTIMIZATION_LEVEL = 0; | |
1491 PRODUCT_NAME = template; | |
1492 }; | 1484 }; |
1493 name = Debug; | 1485 name = Debug; |
1494 }; | 1486 }; |
1495 FDB043B50E2689CC00F5B3F9 /* Release */ = { | 1487 FDB043B50E2689CC00F5B3F9 /* Release */ = { |
1496 isa = XCBuildConfiguration; | 1488 isa = XCBuildConfiguration; |
1497 buildSettings = { | 1489 buildSettings = { |
1498 ARCHS = ( | |
1499 i386, | |
1500 armv6, | |
1501 ); | |
1502 COPY_PHASE_STRIP = YES; | |
1503 DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | |
1504 GCC_ENABLE_FIX_AND_CONTINUE = NO; | |
1505 PRODUCT_NAME = template; | |
1506 ZERO_LINK = NO; | |
1507 }; | 1490 }; |
1508 name = Release; | 1491 name = Release; |
1509 }; | 1492 }; |
1510 FDBB651F0E159B23003B3114 /* Debug */ = { | 1493 FDBB651F0E159B23003B3114 /* Debug */ = { |
1511 isa = XCBuildConfiguration; | 1494 isa = XCBuildConfiguration; |