Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj Mon Aug 18 18:16:48 2008 +0000 +++ b/XCodeiPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj Mon Aug 18 18:27:00 2008 +0000 @@ -1227,7 +1227,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - 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\""; + 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\""; }; /* End PBXShellScriptBuildPhase section */ @@ -1481,29 +1481,12 @@ FDB043B40E2689CC00F5B3F9 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = ( - i386, - armv6, - ); - COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - PRODUCT_NAME = template; }; name = Debug; }; FDB043B50E2689CC00F5B3F9 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = ( - i386, - armv6, - ); - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_ENABLE_FIX_AND_CONTINUE = NO; - PRODUCT_NAME = template; - ZERO_LINK = NO; }; name = Release; };