Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Setup CMake to build for macOS
[xestiaab/.git] / projects / osx / README-OSXBUILD.txt
1 Xestia Address Book OS X Development
2 ====================================
4 Xestia Address Book uses Xcode to build the application for OS X.
6 Step 1: Location of Frameworks and Libraries
7 ============================================
9 When you open up the Xcode project for the first time, you will see the
10 Frameworks & Libraries section will contain several red (missing) items.
12 The required frameworks & libraries are:
14 libcurl.framework
15 sfml-audio.framework
16 sfml-system.framework
17 SFML.framework
18 libxml2.dylib
20 Click on each framework that is in red and then the little folder icon
21 on the right hand side to locate each library.
23 You may need to set these libraries up again so that they are copied over
24 during the Copy Files phase.
26 Where possible, please build the libraries as "fat" binaries (with i686 
27 and x86_64 support).
29 Step 2: Setup user Settings
30 ===========================
32 The following user settings are used for finding frameworks and libraries
33 with.
35 =========================================================================
36 | Setting Name                  | Setting Description                   |
37 =========================================================================
38 | SFML_FRAMEWORKPATH            | Path to the SFML framework            |
39 | CURL_FRAMEWORKPATH            | Path to the cURL framework            |
40 | LIBXML2_PATH                  | Path to the libxml2 library           |
41 =========================================================================
43 To add the user settings, select the project, click on Build Settings, 
44 click on the add button and select the Add User Setting button, enter one
45 of the setting names from above with the value set as the path to where
46 the libraries are.
48 Step 3: Build
49 =============
51 Select the bitmapcode target first and click on the Run button at the
52 top of the Xcode window. This will build and run the bitmapcode helper
53 which will generate the required code and headers for the images used
54 in Xestia Address Book.
56 Now select the Xestia Address Book target and click on the Run button
57 again at the top of the Xcode window. This will build and run Xestia
58 Address Book.
60 At the end of the build process, it will copy the frameworks and libraries
61 over into the executable.
63 Release executables tend to be smaller but cannot be debugged as easily 
64 compared to the Debug executables.
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy