Changes between Version 34 and Version 35 of BuildMacApp


Ignore:
Timestamp:
Jul 31, 2008, 3:28:03 PM (16 years ago)
Author:
Nicolas
Comment:

Update for BOINC sample directory move; Charlie should review this

Legend:

Unmodified
Added
Removed
Modified
  • BuildMacApp

    v34 v35  
    5050 * All 64-bit BOINC software for Intel Macs must be built using GCC 4.0 and MacOS10.5 SDK.
    5151
    52 The example_app found in boinc_samples has examples of 3 different ways to build the application for all 3 platforms using cross-development:
     52The example_app found in boinc/samples has examples of 3 different ways to build the application for all 3 platforms using cross-development:
    5353 * Create an XCode project
    5454 * Use a generic Makefile with a custom shell script
     
    128128== Build Any Other Needed Libraries ==
    129129
    130 If you are building a third-party library (such as JPEG), you will need to take the steps listed above in the section Cross-Platform Development.  See the files `boinc_samples/example_app/Makefile_mac2` and `boinc_samples/example_app/MakeMacExample.sh` for examples of how to accomplish this.
     130If you are building a third-party library (such as JPEG), you will need to take the steps listed above in the section Cross-Platform Development.  See the files `boinc/samples/example_app/Makefile_mac2` and `boinc/samples/example_app/MakeMacExample.sh` for examples of how to accomplish this.
    131131
    132132== Build Your Application Using Cross-Development ==
     
    134134We will use the example_app to illustrate the 3 methods of cross-compiling.   
    135135
    136 Download this sample project from Subversion, and put it in the same BOINC_dev folder.  To do this, type the following in Terminal:
    137 
    138 {{{
    139 cd {path}/BOINC_dev/
    140 mkdir boinc_samples
    141 cd boinc_samples/
    142 svn co http://boinc.berkeley.edu/svn/trunk/boinc_samples 
    143 }}}
    144 
    145136=== Using an XCode Project ===
    146137
    147 Double-click on the project file `boinc_samples/mac_build/UpperCase2.xcodeproj`.  At the top of the main window, select '''Build_All''' for the ''Active Target'', and '''ppc_Deployment''' for the ''Active Build Configuration''.  Then click on the Build icon (or select Build from the Build menu.)  Repeat for ''Active Build Configurations'' '''i386_Deployment''' and '''x86_64_Deployment'''.
     138Double-click on the project file `boinc/samples/mac_build/UpperCase2.xcodeproj`.  At the top of the main window, select '''Build_All''' for the ''Active Target'', and '''ppc_Deployment''' for the ''Active Build Configuration''.  Then click on the Build icon (or select Build from the Build menu.)  Repeat for ''Active Build Configurations'' '''i386_Deployment''' and '''x86_64_Deployment'''.
    148139
    149140Use the example XCode project as a guide or a starting point to create an XCode project for your own application.  Pay special attention to the XCode build settings.  For more information on using XCode, see [http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/00_00_intro/chapter_1_section_1.html XCode User Guide] and [http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_04_bs_build_settings/chapter_33_section_1.html XCode Build Settings].
     
    154145
    155146{{{
    156 cd {path}/BOINC_dev/boinc_samples/example_app/Mac/
     147cd {path}/BOINC_dev/boinc/samples/example_app/Mac/
    157148sh MakeMacExample.sh -clean
    158149}}}
     
    198189
    199190{{{
    200 cd {path}/BOINC_dev/boinc_samples/example_app/
     191cd {path}/BOINC_dev/boinc/samples/example_app/
    201192make -f Makefile_mac2 clean all
    202193}}}