geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mole...@apache.org
Subject [geode-native] branch develop updated: Update the build instructions for Mac
Date Wed, 11 Sep 2019 15:53:46 GMT
This is an automated email from the ASF dual-hosted git repository.

moleske pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0ed4ed4  Update the build instructions for Mac
     new 672f1db  Merge pull request #514 from charliemblack/develop
0ed4ed4 is described below

commit 0ed4ed49e5ed7dc400f3fb234a3884feec717fb0
Author: Charlie Black <cblack@pivotal.io>
AuthorDate: Fri Sep 6 16:17:48 2019 -0700

    Update the build instructions for Mac
---
 BUILDING.md | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)

diff --git a/BUILDING.md b/BUILDING.md
index 0bf6d16..8ffcbb0 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -49,13 +49,34 @@ The recommended generator for most unix platforms is 'Makefiles' (default):
 $ cmake ..
 ```
 
-#### Xcode
-The recommended generator for Xcode is `Xcode`:
+#### Mac OSX Xcode
+
+Install X Code from the App Store
+* You have to run XCode once to get it initialize properly (software agreement).
+* Install the command line tools for xcode - run `xcode-select --install` from terminal
+
+Install the required dependancies through homebbrew.   If you use another package manager
for your mac feel free to use that.
 
 ```bash
-$ cmake .. -G "Xcode"
+$ brew install geode
+$ brew install openssl
+$ brew install doxygen
+$ brew install cmake
 ```
 
+Follow these steps to build the geode native client.   The recommended code generator is
`Xcode`.
+
+```bash
+$ cd <clone>
+$ mkdir build
+$ cd build
+$ cmake .. -G "Xcode" -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DCMAKE_INSTALL_PREFIX=`pwd`/install
+$ cmake --build . --target docs
+$ cmake --build . --target install -j8
+```
+
+At the end of the process the geode native client will be in the  `<clone>/build/install`
directory.
+
 #### Windows / Visual Studio
 When running cmake commands on Windows, be sure to use [Visual Studio Native Tools Command
Prompt](https://msdn.microsoft.com/en-us/library/f35ctcxw.aspx) so environment variables are
set properly.
 


Mime
View raw message