Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Updated Wiki: Setup and Build on OSX

$
0
0

How to setup, build, and run tests on OSX

1. Ensure you have the most recent version of OSX and Xcode (As of this writing, 10.9.2 and 5.0.2 respectively).

2. You will need to install the development files for Boost and OpenSSL. Our recommendation is using the Homebrew package manager:

http://brew.sh/

3. If you are using the Homebrew package manager, install the required development tools:
brew install cmake git openssl boost


4. Clone the project using Git (it will be stored in the folder "casablanca"):
git clone https://git01.codeplex.com/casablanca

Going forward, you will want to pull from the master branch, which will always contain the last known release.

5. Build the SDK in Release mode
cd casablanca
mkdir build.release
cd build.release
cmake ../Release -DCMAKE_BUILD_TYPE=Release
make -j

You can build the Debug version by replacing every instance of Release with Debug in the previous directions.

6. After building you can run the tests by launching the test_runner executable:
cd casablanca/build.release/Binaries
./test_runner *_test.dylib


Viewing all articles
Browse latest Browse all 4845

Trending Articles