@@ -114,7 +114,7 @@ the ``~/cpp-netlib`` directory exists, and is the top-level directory of the
114114Building with CMake
115115===================
116116
117- To build the tests that come with cpp-netlib, we first need to configure the
117+ To build the tests that come with:mod:` cpp-netlib` , we first need to configure the
118118build system to use our compiler of choice. This is done by running the
119119``cmake`` command at the top-level directory of :mod:`cpp-netlib` with
120120additional parameters::
@@ -131,6 +131,31 @@ additional parameters::
131131 For the purposes of documentation, we'll assume that all
132132 builds are done in ``~/cpp-netlib-build``.
133133
134+ If you intend to use the SSL support when using the HTTP client libraries in
135+ :mod:`cpp-netlib`, you may need to build it with OpenSSL_ installed or at least
136+ available to CMake. One example for building the library with OpenSSL_ support
137+ is by doing the following::
138+
139+ $ cmake -DCMAKE_BUILD_TYPE=Debug \
140+ > -DCMAKE_C_COMPILER=clang \
141+ > -DCMAKE_CXX_COMPILER=clang++ \
142+ > -DOPENSSL_ROOT_DIR=/Users/dberris/homebrew/Cellar/openssl/1.0.1f
143+ > ../cpp-netlib
144+
145+ .. _OpenSSL: http://www.openssl.org/
146+
147+ You can also use a different root directory for the Boost_ project by using the
148+ ``-DBOOST_ROOT`` configuration option to CMake. This is useful if you intend to
149+ build the library with a specific version of Boost that you've built in a
150+ separate directory::
151+
152+ $ cmake -DCMAKE_BUILD_TYPE=Debug \
153+ > -DCMAKE_C_COMPILER=clang \
154+ > -DCMAKE_CXX_COMPILER=clang++ \
155+ > -DOPENSSL_ROOT_DIR=/Users/dberris/homebrew/Cellar/openssl/1.0.1f \
156+ > -DBOOST_ROOT=/Users/dberris/Source/boost_1_55_0
157+ > ../cpp-netlib
158+
134159Building on Linux
135160~~~~~~~~~~~~~~~~~
136161
@@ -178,8 +203,8 @@ Building On Windows
178203~~~~~~~~~~~~~~~~~~~
179204
180205If you're using the Microsoft Visual C++ compiler or the Microsoft Visual Studio
181- IDE and you would like to build cpp-netlib from within Visual Studio, you can
182- look for the solution and project files as the artifacts of the call to
206+ IDE and you would like to build:mod:` cpp-netlib` from within Visual Studio, you
207+ can look for the solution and project files as the artifacts of the call to
183208``cmake`` -- the file should be named ``CPP-NETLIB.sln`` (the solution) along
184209with a number of project files for Visual Studio.
185210