From commits-return-32668-archive-asf-public=cust-asf.ponee.io@geode.apache.org Wed Sep 11 15:53:48 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1807418063F for ; Wed, 11 Sep 2019 17:53:47 +0200 (CEST) Received: (qmail 99715 invoked by uid 500); 11 Sep 2019 15:53:47 -0000 Mailing-List: contact commits-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list commits@geode.apache.org Received: (qmail 99698 invoked by uid 99); 11 Sep 2019 15:53:47 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2019 15:53:47 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 273B0814CE; Wed, 11 Sep 2019 15:53:46 +0000 (UTC) Date: Wed, 11 Sep 2019 15:53:46 +0000 To: "commits@geode.apache.org" Subject: [geode-native] branch develop updated: Update the build instructions for Mac MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <156821722685.4908.8043868657761763305@gitbox.apache.org> From: moleske@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: geode-native X-Git-Refname: refs/heads/develop X-Git-Reftype: branch X-Git-Oldrev: 9b1c5ab31558c9d0ead6927398cb608521a5c20d X-Git-Newrev: 0ed4ed49e5ed7dc400f3fb234a3884feec717fb0 X-Git-Rev: 0ed4ed49e5ed7dc400f3fb234a3884feec717fb0 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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 +$ 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 `/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.