| 2581 | 6.3*) |
| 2582 | m_version_compare $M_XCODE63_VERSION $m_xcode_version |
| 2583 | if [[ $? != 2 ]] |
| 2584 | then |
| 2585 | M_XCODE63="$m_xcode_root" |
| 2586 | M_XCODE63_VERSION=$m_xcode_version |
| 2587 | fi |
| 2588 | ;; |
| 2589 | 6.4*) |
| 2590 | m_version_compare $M_XCODE64_VERSION $m_xcode_version |
| 2591 | if [[ $? != 2 ]] |
| 2592 | then |
| 2593 | M_XCODE64="$m_xcode_root" |
| 2594 | M_XCODE64_VERSION=$m_xcode_version |
| 2595 | fi |
| 2596 | ;; |
| 2597 | 7.0*) |
| 2598 | m_version_compare $M_XCODE64_VERSION $m_xcode_version |
| 2599 | if [[ $? != 2 ]] |
| 2600 | then |
| 2601 | M_XCODE70="$m_xcode_root" |
| 2602 | M_XCODE70_VERSION=$m_xcode_version |
| 2603 | fi |
| 2604 | ;; |
| 2822 | if [[ -n "$M_XCODE63" ]] |
| 2823 | then |
| 2824 | m_xcode_latest="$M_XCODE63" |
| 2825 | |
| 2826 | M_SDK_109="$M_XCODE63/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" |
| 2827 | M_SDK_109_XCODE="$M_XCODE63" |
| 2828 | M_SDK_109_COMPILER="$M_XCODE63_COMPILER" |
| 2829 | m_platform_realistic_add "10.9" |
| 2830 | m_platform_add "10.10" |
| 2831 | |
| 2832 | M_SDK_1010="$M_XCODE63/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk" |
| 2833 | M_SDK_1010_XCODE="$M_XCODE63" |
| 2834 | M_SDK_1010_COMPILER="$M_XCODE63_COMPILER" |
| 2835 | m_platform_realistic_add "10.10" |
| 2836 | fi |
| 2837 | if [[ -n "$M_XCODE64" ]] |
| 2838 | then |
| 2839 | m_xcode_latest="$M_XCODE64" |
| 2840 | |
| 2841 | M_SDK_109="$M_XCODE64/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" |
| 2842 | M_SDK_109_XCODE="$M_XCODE64" |
| 2843 | M_SDK_109_COMPILER="$M_XCODE64_COMPILER" |
| 2844 | m_platform_realistic_add "10.9" |
| 2845 | m_platform_add "10.10" |
| 2846 | |
| 2847 | M_SDK_1010="$M_XCODE64/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk" |
| 2848 | M_SDK_1010_XCODE="$M_XCODE64" |
| 2849 | M_SDK_1010_COMPILER="$M_XCODE64_COMPILER" |
| 2850 | m_platform_realistic_add "10.10" |
| 2851 | fi |
| 2852 | if [[ -n "$M_XCODE70" ]] |
| 2853 | then |
| 2854 | m_xcode_latest="$M_XCODE70" |
| 2855 | |
| 2856 | M_SDK_1010="$M_XCODE70/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk" |
| 2857 | M_SDK_1010_XCODE="$M_XCODE70" |
| 2858 | M_SDK_1010_COMPILER="$M_XCODE70_COMPILER" |
| 2859 | m_platform_realistic_add "10.10" |
| 2860 | m_platform_add "10.11" |
| 2861 | |
| 2862 | M_SDK_1011="$M_XCODE70/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" |
| 2863 | M_SDK_1011_XCODE="$M_XCODE70" |
| 2864 | M_SDK_1011_COMPILER="$M_XCODE70_COMPILER" |
| 2865 | m_platform_realistic_add "10.11" |
| 2866 | fi |
| 2867 | |