boinc/samples/example_app
Tal Regev c4780563b4 Arrange apps makefiles 2021-04-10 11:02:39 +03:00
..
Mac
bin Image File Compression 2018-10-29 16:27:45 -06:00
MakeMacExample.sh Mac: update copyright dates 2020-05-01 04:59:37 -07:00
Makefile Arrange apps makefiles 2021-04-10 11:02:39 +03:00
Makefile_mac Mac: update copyright dates 2020-05-01 04:59:37 -07:00
Makefile_mac2 Mac: update copyright dates 2020-05-01 04:59:37 -07:00
ReadMe.txt mac: update samples/example_app for compatibility with xcode 11 and with updated BOINC graphics library 2020-05-01 03:56:32 -07:00
slide_show.cpp sample apps: include <cmath> instead of <math.h> 2013-05-28 12:00:39 -07:00
uc2.cpp example_app: reclassify the example_app as a console application on Windows. 2015-11-19 14:24:19 -05:00
uc2.h samples: Create a custom DLL for debugging DLL search path issues. Hook it up to the example app. 2014-01-15 12:01:00 -05:00
uc2_dll.cpp samples: Create a custom DLL for debugging DLL search path issues. Hook it up to the example app. 2014-01-15 12:01:00 -05:00
uc2_graphics.cpp example app comment typo 2014-01-20 23:39:59 -08:00
ucn.cpp ExampleApp: prevent resource leak 2015-11-10 16:59:20 +01:00

ReadMe.txt

To build the example_app sample (UpperCase2) for Macintosh:

First build the BOINC libraries:
cd [path]/mac_build
source BuildMacBOINC.sh -lib

NOTE: The libboinc_graphics2.a library and the graphics app must be built with the same version of Xcode

For more details, see the instructions in that script's comments or at:
[path]/mac_build/HowToBuildBOINC_XCode.rtf

After building the libraries, there are three ways to build the example_app sample for Macintosh:

[1] Run the MakeMacExample.sh script in this example_app directory (which will invoke the makefile Makefile_mac):
cd [path]/samples/example_app/
sh MakeMacExample.sh

[2] Invoke the stand-alone makefile Makefile_mac2 directly:
cd [path]/samples/example_app/
make -f Makefile_mac2

[3] Run the Xcode project at:
[path]/samples/mac_build/UpperCase2.xcodeproj