Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj
changeset 5284 96a22141cf86
parent 5282 15a71bec4a55
child 5319 675d18cbdbad
equal deleted inserted replaced
5283:a3bfe8657cde 5284:96a22141cf86
  1412 			inputPaths = (
  1412 			inputPaths = (
  1413 				"$(SYMROOT)/$(CONFIGURATION)-iphonesimulator/libSDL.a",
  1413 				"$(SYMROOT)/$(CONFIGURATION)-iphonesimulator/libSDL.a",
  1414 				"$(SYMROOT)/$(CONFIGURATION)-iphoneos/libSDL.a",
  1414 				"$(SYMROOT)/$(CONFIGURATION)-iphoneos/libSDL.a",
  1415 			);
  1415 			);
  1416 			outputPaths = (
  1416 			outputPaths = (
  1417 				"$(SYMROOT)/libSDL.a",
  1417 				"$(SYMROOT)/$CONFIGURATION-Universal/libSDL.a",
  1418 			);
  1418 			);
  1419 			runOnlyForDeploymentPostprocessing = 0;
  1419 			runOnlyForDeploymentPostprocessing = 0;
  1420 			shellPath = /bin/sh;
  1420 			shellPath = /bin/sh;
  1421 			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";
  1421 			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/$CONFIGURATION-Universal/libSDL.a -create\n\necho \"Created Universal Simulator/Device binary at $SYMROOT/$CONFIGURATION-Universal/libSDL.a\"\n\n\nexit 0\n";
  1422 		};
  1422 		};
  1423 		00B4F48A12F6A69C0084EC00 /* ShellScript */ = {
  1423 		00B4F48A12F6A69C0084EC00 /* ShellScript */ = {
  1424 			isa = PBXShellScriptBuildPhase;
  1424 			isa = PBXShellScriptBuildPhase;
  1425 			buildActionMask = 2147483647;
  1425 			buildActionMask = 2147483647;
  1426 			files = (
  1426 			files = (
  1427 			);
  1427 			);
  1428 			inputPaths = (
  1428 			inputPaths = (
       
  1429 				"$(SYMROOT)/$CONFIGURATION-Universal/libSDL.a",
  1429 			);
  1430 			);
  1430 			outputPaths = (
  1431 			outputPaths = (
  1431 			);
  1432 			);
  1432 			runOnlyForDeploymentPostprocessing = 0;
  1433 			runOnlyForDeploymentPostprocessing = 0;
  1433 			shellPath = /bin/sh;
  1434 			shellPath = /bin/sh;
  1434 			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\"";
  1435 			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/$CONFIGURATION-Universal/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\"";
  1435 		};
  1436 		};
  1436 /* End PBXShellScriptBuildPhase section */
  1437 /* End PBXShellScriptBuildPhase section */
  1437 
  1438 
  1438 /* Begin PBXSourcesBuildPhase section */
  1439 /* Begin PBXSourcesBuildPhase section */
  1439 		006E981F11955059001DE610 /* Sources */ = {
  1440 		006E981F11955059001DE610 /* Sources */ = {