comparison Xcode/SDL/SDL.xcodeproj/project.pbxproj @ 3309:e1f161215f72

Eric Wing to Sam I refactored how the shell script code-gen phases were setup in the Xcode project. I also removed the SDLmain files from the project templates.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 26 Sep 2009 03:58:35 +0000
parents 770c5143dd37
children
comparison
equal deleted inserted replaced
3308:0e000afe3dc0 3309:e1f161215f72
3 archiveVersion = 1; 3 archiveVersion = 1;
4 classes = { 4 classes = {
5 }; 5 };
6 objectVersion = 44; 6 objectVersion = 44;
7 objects = { 7 objects = {
8
9 /* Begin PBXAggregateTarget section */
10 002D2A9E106C18E700BF972E /* Generate Header Files */ = {
11 isa = PBXAggregateTarget;
12 buildConfigurationList = 002D2AAA106C198E00BF972E /* Build configuration list for PBXAggregateTarget "Generate Header Files" */;
13 buildPhases = (
14 002D2AA5106C190C00BF972E /* Run Script to Create SDL_config.h */,
15 002D2AA7106C194100BF972E /* Run Script to Create SDL_revision.h */,
16 );
17 dependencies = (
18 );
19 name = "Generate Header Files";
20 productName = "Generate Header Files";
21 };
22 /* End PBXAggregateTarget section */
8 23
9 /* Begin PBXBuildFile section */ 24 /* Begin PBXBuildFile section */
10 00162D4609BD1FA90037C8D0 /* SDL_config_macosx.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3409BD1FA90037C8D0 /* SDL_config_macosx.h */; }; 25 00162D4609BD1FA90037C8D0 /* SDL_config_macosx.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3409BD1FA90037C8D0 /* SDL_config_macosx.h */; };
11 00162D4909BD1FA90037C8D0 /* SDL_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3709BD1FA90037C8D0 /* SDL_config.h */; }; 26 00162D4909BD1FA90037C8D0 /* SDL_config.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3709BD1FA90037C8D0 /* SDL_config.h */; };
12 00162D4A09BD1FA90037C8D0 /* SDL_platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3809BD1FA90037C8D0 /* SDL_platform.h */; }; 27 00162D4A09BD1FA90037C8D0 /* SDL_platform.h in Headers */ = {isa = PBXBuildFile; fileRef = 00162D3809BD1FA90037C8D0 /* SDL_platform.h */; };
428 BECDF6AF0761BA81005FE872 /* SDL_cpuinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */; }; 443 BECDF6AF0761BA81005FE872 /* SDL_cpuinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = B24DA50405A88D52006B9F1C /* SDL_cpuinfo.c */; };
429 BECDF6B00761BA81005FE872 /* SDL_coreaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = BECDF5D50761B759005FE872 /* SDL_coreaudio.c */; }; 444 BECDF6B00761BA81005FE872 /* SDL_coreaudio.c in Sources */ = {isa = PBXBuildFile; fileRef = BECDF5D50761B759005FE872 /* SDL_coreaudio.c */; };
430 /* End PBXBuildFile section */ 445 /* End PBXBuildFile section */
431 446
432 /* Begin PBXContainerItemProxy section */ 447 /* Begin PBXContainerItemProxy section */
448 002D2AA8106C196E00BF972E /* PBXContainerItemProxy */ = {
449 isa = PBXContainerItemProxy;
450 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
451 proxyType = 1;
452 remoteGlobalIDString = 002D2A9E106C18E700BF972E;
453 remoteInfo = "Generate Header Files";
454 };
455 002D2AAB106C19B200BF972E /* PBXContainerItemProxy */ = {
456 isa = PBXContainerItemProxy;
457 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
458 proxyType = 1;
459 remoteGlobalIDString = 002D2A9E106C18E700BF972E;
460 remoteInfo = "Generate Header Files";
461 };
433 BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */ = { 462 BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */ = {
434 isa = PBXContainerItemProxy; 463 isa = PBXContainerItemProxy;
435 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */; 464 containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
436 proxyType = 1; 465 proxyType = 1;
437 remoteGlobalIDString = BECDF5FE0761BA81005FE872; 466 remoteGlobalIDString = BECDF5FE0761BA81005FE872;
1540 /* Begin PBXNativeTarget section */ 1569 /* Begin PBXNativeTarget section */
1541 BECDF5FE0761BA81005FE872 /* Framework */ = { 1570 BECDF5FE0761BA81005FE872 /* Framework */ = {
1542 isa = PBXNativeTarget; 1571 isa = PBXNativeTarget;
1543 buildConfigurationList = 0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */; 1572 buildConfigurationList = 0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */;
1544 buildPhases = ( 1573 buildPhases = (
1545 00D55F050A11143E0030ED2A /* Run Script to Create SDL_config.h */,
1546 00CFA875106B4A1400758660 /* Run Script to Create SDL_revision.h */,
1547 BECDF5FF0761BA81005FE872 /* Headers */, 1574 BECDF5FF0761BA81005FE872 /* Headers */,
1548 BECDF62A0761BA81005FE872 /* Resources */, 1575 BECDF62A0761BA81005FE872 /* Resources */,
1549 BECDF62C0761BA81005FE872 /* Sources */, 1576 BECDF62C0761BA81005FE872 /* Sources */,
1550 BECDF6680761BA81005FE872 /* Frameworks */, 1577 BECDF6680761BA81005FE872 /* Frameworks */,
1551 ); 1578 );
1552 buildRules = ( 1579 buildRules = (
1553 ); 1580 );
1554 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"; 1581 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";
1555 dependencies = ( 1582 dependencies = (
1583 002D2AA9106C196E00BF972E /* PBXTargetDependency */,
1556 ); 1584 );
1557 name = Framework; 1585 name = Framework;
1558 productInstallPath = "@executable_path/../Frameworks"; 1586 productInstallPath = "@executable_path/../Frameworks";
1559 productName = SDL; 1587 productName = SDL;
1560 productReference = BECDF66C0761BA81005FE872 /* SDL.framework */; 1588 productReference = BECDF66C0761BA81005FE872 /* SDL.framework */;
1562 }; 1590 };
1563 BECDF66D0761BA81005FE872 /* Static Library */ = { 1591 BECDF66D0761BA81005FE872 /* Static Library */ = {
1564 isa = PBXNativeTarget; 1592 isa = PBXNativeTarget;
1565 buildConfigurationList = 0073177E0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Static Library" */; 1593 buildConfigurationList = 0073177E0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Static Library" */;
1566 buildPhases = ( 1594 buildPhases = (
1567 00D55F080A11147F0030ED2A /* Run Script to Create SDL_config.h */,
1568 BECDF66E0761BA81005FE872 /* Headers */, 1595 BECDF66E0761BA81005FE872 /* Headers */,
1569 BECDF6790761BA81005FE872 /* Sources */, 1596 BECDF6790761BA81005FE872 /* Sources */,
1570 BECDF6B10761BA81005FE872 /* Frameworks */, 1597 BECDF6B10761BA81005FE872 /* Frameworks */,
1571 BECDF6B20761BA81005FE872 /* Rez */, 1598 BECDF6B20761BA81005FE872 /* Rez */,
1572 ); 1599 );
1573 buildRules = ( 1600 buildRules = (
1574 ); 1601 );
1575 comments = "This produces libsdl.a, which is the static build of SDL. You will have to link to the Cocoa and OpenGL frameworks in your application."; 1602 comments = "This produces libsdl.a, which is the static build of SDL. You will have to link to the Cocoa and OpenGL frameworks in your application.";
1576 dependencies = ( 1603 dependencies = (
1604 002D2AAC106C19B200BF972E /* PBXTargetDependency */,
1577 ); 1605 );
1578 name = "Static Library"; 1606 name = "Static Library";
1579 productInstallPath = /usr/local/lib; 1607 productInstallPath = /usr/local/lib;
1580 productName = "Static Library"; 1608 productName = "Static Library";
1581 productReference = BECDF6B30761BA81005FE872 /* libSDL.a */; 1609 productReference = BECDF6B30761BA81005FE872 /* libSDL.a */;
1625 mainGroup = 0867D691FE84028FC02AAC07 /* SDLFramework */; 1653 mainGroup = 0867D691FE84028FC02AAC07 /* SDLFramework */;
1626 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */; 1654 productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
1627 projectDirPath = ""; 1655 projectDirPath = "";
1628 projectRoot = ""; 1656 projectRoot = "";
1629 targets = ( 1657 targets = (
1658 002D2A9E106C18E700BF972E /* Generate Header Files */,
1630 BECDF5FE0761BA81005FE872 /* Framework */, 1659 BECDF5FE0761BA81005FE872 /* Framework */,
1631 BECDF66D0761BA81005FE872 /* Static Library */, 1660 BECDF66D0761BA81005FE872 /* Static Library */,
1632 BECDF6BB0761BA81005FE872 /* Standard DMG */, 1661 BECDF6BB0761BA81005FE872 /* Standard DMG */,
1633 BECDF6C00761BA81005FE872 /* Developer Extras Package */, 1662 BECDF6C00761BA81005FE872 /* Developer Extras Package */,
1634 ); 1663 );
1654 runOnlyForDeploymentPostprocessing = 0; 1683 runOnlyForDeploymentPostprocessing = 0;
1655 }; 1684 };
1656 /* End PBXRezBuildPhase section */ 1685 /* End PBXRezBuildPhase section */
1657 1686
1658 /* Begin PBXShellScriptBuildPhase section */ 1687 /* Begin PBXShellScriptBuildPhase section */
1659 00CFA875106B4A1400758660 /* Run Script to Create SDL_revision.h */ = { 1688 002D2AA5106C190C00BF972E /* Run Script to Create SDL_config.h */ = {
1660 isa = PBXShellScriptBuildPhase; 1689 isa = PBXShellScriptBuildPhase;
1661 buildActionMask = 2147483647; 1690 buildActionMask = 2147483647;
1662 files = ( 1691 files = (
1663 ); 1692 );
1664 inputPaths = ( 1693 inputPaths = (
1694 "$(SRCROOT)/../../include/SDL_config.h.default",
1695 );
1696 name = "Run Script to Create SDL_config.h";
1697 outputPaths = (
1698 "$(SRCROOT)/../../include/SDL_config.h",
1699 );
1700 runOnlyForDeploymentPostprocessing = 0;
1701 shellPath = /bin/sh;
1702 shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n if [ -e ../../include/SDL_config.h ]; then\n mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n fi\n ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n";
1703 };
1704 002D2AA7106C194100BF972E /* Run Script to Create SDL_revision.h */ = {
1705 isa = PBXShellScriptBuildPhase;
1706 buildActionMask = 2147483647;
1707 files = (
1708 );
1709 inputPaths = (
1710 "$(SRCROOT)/../../build-scripts/showrev.sh",
1665 "$(SRCROOT)/../../build-scripts/updaterev.sh", 1711 "$(SRCROOT)/../../build-scripts/updaterev.sh",
1666 ); 1712 );
1667 name = "Run Script to Create SDL_revision.h"; 1713 name = "Run Script to Create SDL_revision.h";
1668 outputPaths = ( 1714 outputPaths = (
1669 "$(SRCROOT)/../../include/SDL_revision.h", 1715 "$(SRCROOT)/../../include/SDL_revision.h",
1670 ); 1716 );
1671 runOnlyForDeploymentPostprocessing = 0; 1717 runOnlyForDeploymentPostprocessing = 0;
1672 shellPath = /bin/sh; 1718 shellPath = /bin/sh;
1673 shellScript = "sh ../../build-scripts/updaterev.sh"; 1719 shellScript = "sh ../../build-scripts/updaterev.sh";
1674 };
1675 00D55F050A11143E0030ED2A /* Run Script to Create SDL_config.h */ = {
1676 isa = PBXShellScriptBuildPhase;
1677 buildActionMask = 2147483647;
1678 files = (
1679 );
1680 inputPaths = (
1681 "$(SRCROOT)/../../include/SDL_config.h.default",
1682 );
1683 name = "Run Script to Create SDL_config.h";
1684 outputPaths = (
1685 "$(SRCROOT)/../../include/SDL_config.h",
1686 );
1687 runOnlyForDeploymentPostprocessing = 0;
1688 shellPath = /bin/sh;
1689 shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n if [ -e ../../include/SDL_config.h ]; then\n mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n fi\n ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n";
1690 };
1691 00D55F080A11147F0030ED2A /* Run Script to Create SDL_config.h */ = {
1692 isa = PBXShellScriptBuildPhase;
1693 buildActionMask = 2147483647;
1694 files = (
1695 );
1696 inputPaths = (
1697 );
1698 name = "Run Script to Create SDL_config.h";
1699 outputPaths = (
1700 );
1701 runOnlyForDeploymentPostprocessing = 0;
1702 shellPath = /bin/sh;
1703 shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n if [ -e ../../include/SDL_config.h ]; then\n mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n fi\n ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n";
1704 }; 1720 };
1705 BECDF6BD0761BA81005FE872 /* ShellScript */ = { 1721 BECDF6BD0761BA81005FE872 /* ShellScript */ = {
1706 isa = PBXShellScriptBuildPhase; 1722 isa = PBXShellScriptBuildPhase;
1707 buildActionMask = 12; 1723 buildActionMask = 12;
1708 files = ( 1724 files = (
1945 runOnlyForDeploymentPostprocessing = 0; 1961 runOnlyForDeploymentPostprocessing = 0;
1946 }; 1962 };
1947 /* End PBXSourcesBuildPhase section */ 1963 /* End PBXSourcesBuildPhase section */
1948 1964
1949 /* Begin PBXTargetDependency section */ 1965 /* Begin PBXTargetDependency section */
1966 002D2AA9106C196E00BF972E /* PBXTargetDependency */ = {
1967 isa = PBXTargetDependency;
1968 target = 002D2A9E106C18E700BF972E /* Generate Header Files */;
1969 targetProxy = 002D2AA8106C196E00BF972E /* PBXContainerItemProxy */;
1970 };
1971 002D2AAC106C19B200BF972E /* PBXTargetDependency */ = {
1972 isa = PBXTargetDependency;
1973 target = 002D2A9E106C18E700BF972E /* Generate Header Files */;
1974 targetProxy = 002D2AAB106C19B200BF972E /* PBXContainerItemProxy */;
1975 };
1950 BECDF6C60761BA81005FE872 /* PBXTargetDependency */ = { 1976 BECDF6C60761BA81005FE872 /* PBXTargetDependency */ = {
1951 isa = PBXTargetDependency; 1977 isa = PBXTargetDependency;
1952 target = BECDF5FE0761BA81005FE872 /* Framework */; 1978 target = BECDF5FE0761BA81005FE872 /* Framework */;
1953 targetProxy = BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */; 1979 targetProxy = BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */;
1954 }; 1980 };
1955 /* End PBXTargetDependency section */ 1981 /* End PBXTargetDependency section */
1956 1982
1957 /* Begin XCBuildConfiguration section */ 1983 /* Begin XCBuildConfiguration section */
1984 002D2A9F106C18E700BF972E /* Deployment_for_official_releases_using_10.4SDK_and_10.6SDK */ = {
1985 isa = XCBuildConfiguration;
1986 buildSettings = {
1987 PRODUCT_NAME = "Generate Header Files";
1988 };
1989 name = Deployment_for_official_releases_using_10.4SDK_and_10.6SDK;
1990 };
1991 002D2AA0106C18E700BF972E /* Development_using_10.4SDK_and_10.6SDK */ = {
1992 isa = XCBuildConfiguration;
1993 buildSettings = {
1994 PRODUCT_NAME = "Generate Header Files";
1995 };
1996 name = Development_using_10.4SDK_and_10.6SDK;
1997 };
1998 002D2AA1106C18E700BF972E /* Development_native_only */ = {
1999 isa = XCBuildConfiguration;
2000 buildSettings = {
2001 PRODUCT_NAME = "Generate Header Files";
2002 };
2003 name = Development_native_only;
2004 };
2005 002D2AA2106C18E700BF972E /* Deployment_native_only */ = {
2006 isa = XCBuildConfiguration;
2007 buildSettings = {
2008 PRODUCT_NAME = "Generate Header Files";
2009 };
2010 name = Deployment_native_only;
2011 };
2012 002D2AA3106C18E700BF972E /* Default */ = {
2013 isa = XCBuildConfiguration;
2014 buildSettings = {
2015 PRODUCT_NAME = "Generate Header Files";
2016 };
2017 name = Default;
2018 };
1958 0073177B0858DB0500B2BC32 /* Development_using_10.4SDK_and_10.6SDK */ = { 2019 0073177B0858DB0500B2BC32 /* Development_using_10.4SDK_and_10.6SDK */ = {
1959 isa = XCBuildConfiguration; 2020 isa = XCBuildConfiguration;
1960 buildSettings = { 2021 buildSettings = {
1961 DYLIB_COMPATIBILITY_VERSION = 1.3; 2022 DYLIB_COMPATIBILITY_VERSION = 1.3;
1962 DYLIB_CURRENT_VERSION = 1.3.0; 2023 DYLIB_CURRENT_VERSION = 1.3.0;
2406 name = Development_native_only; 2467 name = Development_native_only;
2407 }; 2468 };
2408 /* End XCBuildConfiguration section */ 2469 /* End XCBuildConfiguration section */
2409 2470
2410 /* Begin XCConfigurationList section */ 2471 /* Begin XCConfigurationList section */
2472 002D2AAA106C198E00BF972E /* Build configuration list for PBXAggregateTarget "Generate Header Files" */ = {
2473 isa = XCConfigurationList;
2474 buildConfigurations = (
2475 002D2A9F106C18E700BF972E /* Deployment_for_official_releases_using_10.4SDK_and_10.6SDK */,
2476 002D2AA0106C18E700BF972E /* Development_using_10.4SDK_and_10.6SDK */,
2477 002D2AA1106C18E700BF972E /* Development_native_only */,
2478 002D2AA2106C18E700BF972E /* Deployment_native_only */,
2479 002D2AA3106C18E700BF972E /* Default */,
2480 );
2481 defaultConfigurationIsVisible = 0;
2482 defaultConfigurationName = Default;
2483 };
2411 0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */ = { 2484 0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */ = {
2412 isa = XCConfigurationList; 2485 isa = XCConfigurationList;
2413 buildConfigurations = ( 2486 buildConfigurations = (
2414 0073177C0858DB0500B2BC32 /* Deployment_for_official_releases_using_10.4SDK_and_10.6SDK */, 2487 0073177C0858DB0500B2BC32 /* Deployment_for_official_releases_using_10.4SDK_and_10.6SDK */,
2415 0073177B0858DB0500B2BC32 /* Development_using_10.4SDK_and_10.6SDK */, 2488 0073177B0858DB0500B2BC32 /* Development_using_10.4SDK_and_10.6SDK */,