Xcode/SDL/SDL.xcodeproj/project.pbxproj
changeset 9577 05445a09a406
parent 9576 ae673db0ca8f
child 9613 5d7389abafec
equal deleted inserted replaced
9576:ae673db0ca8f 9577:05445a09a406
  2246 			buildPhases = (
  2246 			buildPhases = (
  2247 				BECDF5FF0761BA81005FE872 /* Headers */,
  2247 				BECDF5FF0761BA81005FE872 /* Headers */,
  2248 				BECDF62A0761BA81005FE872 /* Resources */,
  2248 				BECDF62A0761BA81005FE872 /* Resources */,
  2249 				BECDF62C0761BA81005FE872 /* Sources */,
  2249 				BECDF62C0761BA81005FE872 /* Sources */,
  2250 				BECDF6680761BA81005FE872 /* Frameworks */,
  2250 				BECDF6680761BA81005FE872 /* Frameworks */,
  2251 				AA5C3FDC17A8C58600D6C8A1 /* Sign Frameworks */,
       
  2252 			);
  2251 			);
  2253 			buildRules = (
  2252 			buildRules = (
  2254 			);
  2253 			);
  2255 			comments = "We recommend installing to /Library/Frameworks\nAn alternative is $(HOME)/Library/Frameworks for per-user if permissions are an issue.\n\nAdd the framework to the Groups & Files panel (under Linked Frameworks is a good place) and enable the check box for the targets that need to link to it. You can also manually add \"-framework SDL\" to your linker flags if you don't like the check box system.\n\nAdd /Library/Frameworks/SDL.framework/Headers to your header search path\nAdd /Library/Frameworks to your library search path\n(Adjust the two above if installed in $(HOME)/Library/Frameworks. You can also list both paths if you want robustness.)\n\nWe used to use an exports file. It was becoming a maintenance issue we kept neglecting, so we have removed it. If you need it back, set the \"Exported Symbols File\" option to:\n../../src/main/macosx/exports/SDL.x\n(You may need to regenerate the exports list. There is a Makefile in that directory that you can run from the command line to rebuild it.)\nLong term, we want to utilize gcc 4.0's new visibility feature (analogous to declspec on Windows). Other platforms would benefit from this change too. The downside is that we still use gcc 3.3 for the PowerPC build here so only our x86 builds will cull the symbols if we go down this route (and don't use the exports file).\n\n";
  2254 			comments = "We recommend installing to /Library/Frameworks\nAn alternative is $(HOME)/Library/Frameworks for per-user if permissions are an issue.\n\nAdd the framework to the Groups & Files panel (under Linked Frameworks is a good place) and enable the check box for the targets that need to link to it. You can also manually add \"-framework SDL\" to your linker flags if you don't like the check box system.\n\nAdd /Library/Frameworks/SDL.framework/Headers to your header search path\nAdd /Library/Frameworks to your library search path\n(Adjust the two above if installed in $(HOME)/Library/Frameworks. You can also list both paths if you want robustness.)\n\nWe used to use an exports file. It was becoming a maintenance issue we kept neglecting, so we have removed it. If you need it back, set the \"Exported Symbols File\" option to:\n../../src/main/macosx/exports/SDL.x\n(You may need to regenerate the exports list. There is a Makefile in that directory that you can run from the command line to rebuild it.)\nLong term, we want to utilize gcc 4.0's new visibility feature (analogous to declspec on Windows). Other platforms would benefit from this change too. The downside is that we still use gcc 3.3 for the PowerPC build here so only our x86 builds will cull the symbols if we go down this route (and don't use the exports file).\n\n";
  2256 			dependencies = (
  2255 			dependencies = (
  2383 			runOnlyForDeploymentPostprocessing = 0;
  2382 			runOnlyForDeploymentPostprocessing = 0;
  2384 		};
  2383 		};
  2385 /* End PBXRezBuildPhase section */
  2384 /* End PBXRezBuildPhase section */
  2386 
  2385 
  2387 /* Begin PBXShellScriptBuildPhase section */
  2386 /* Begin PBXShellScriptBuildPhase section */
  2388 		AA5C3FDC17A8C58600D6C8A1 /* Sign Frameworks */ = {
       
  2389 			isa = PBXShellScriptBuildPhase;
       
  2390 			buildActionMask = 2147483647;
       
  2391 			files = (
       
  2392 			);
       
  2393 			inputPaths = (
       
  2394 			);
       
  2395 			name = "Sign Frameworks";
       
  2396 			outputPaths = (
       
  2397 			);
       
  2398 			runOnlyForDeploymentPostprocessing = 0;
       
  2399 			shellPath = /bin/sh;
       
  2400 			shellScript = "if [ \"$USER\" = \"slouken\" ]; then\n    CODE_SIGN_IDENTITY=\"Mac Developer: Sam Lantinga (84TP7N5TA4)\" pkg-support/codesign-frameworks.sh || exit 1\nfi";
       
  2401 		};
       
  2402 		BECDF6BD0761BA81005FE872 /* ShellScript */ = {
  2387 		BECDF6BD0761BA81005FE872 /* ShellScript */ = {
  2403 			isa = PBXShellScriptBuildPhase;
  2388 			isa = PBXShellScriptBuildPhase;
  2404 			buildActionMask = 12;
  2389 			buildActionMask = 12;
  2405 			files = (
  2390 			files = (
  2406 			);
  2391 			);
  2407 			runOnlyForDeploymentPostprocessing = 0;
  2392 			runOnlyForDeploymentPostprocessing = 0;
  2408 			shellPath = /bin/sh;
  2393 			shellPath = /bin/sh;
  2409 			shellScript = "# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nxcrun CpMac -r $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
  2394 			shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n    codesign --force --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nxcrun CpMac -r $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
  2410 		};
  2395 		};
  2411 /* End PBXShellScriptBuildPhase section */
  2396 /* End PBXShellScriptBuildPhase section */
  2412 
  2397 
  2413 /* Begin PBXSourcesBuildPhase section */
  2398 /* Begin PBXSourcesBuildPhase section */
  2414 		BECDF62C0761BA81005FE872 /* Sources */ = {
  2399 		BECDF62C0761BA81005FE872 /* Sources */ = {