Ticket #11881: xcode-group-universal.patch

File xcode-group-universal.patch, 1.2 KB (added by meissnem@…, 18 years ago)
  • xcode-1.0.tcl

     
    256256        set xcode_configuration_arg [xcode::get_configuration_arg ${xcode.configuration}]
    257257        set xcode_project_arg [xcode::get_project_arg ${xcode.project}]
    258258        set xcode_build_args "OBJROOT=build/ SYMROOT=build/"
     259        if {[variant_isset universal]} {
     260                set xcode_build_args "${xcode_build_args} SDKROOT=/Developer/SDKs/MacOSX10.4u.sdk/ ARCHS=\"ppc i386\""
     261        }
    259262       
    260263        # iterate on targets if there is any, do -alltargets otherwise.
    261264        if {"$xcode_targets" == ""} {
     
    289292        set xcode_install_path_setting [xcode::get_install_path_setting \
    290293                ${xcode.destroot.path} ${xcode.destroot.type}]
    291294        set xcode_build_args "OBJROOT=build/ SYMROOT=build/"
     295        if {[variant_isset universal]} {
     296                set xcode_build_args "${xcode_build_args} SDKROOT=/Developer/SDKs/MacOSX10.4u.sdk/ ARCHS=\"ppc i386\""
     297        }
    292298       
    293299        # iterate on targets if there is any, do -alltargets otherwise.
    294300        if {"$xcode_targets" == ""} {
     
    303309                }
    304310        }
    305311}
     312
     313# dummy variant that will be picked up by build and destroot phases
     314variant universal {}