Skip to content

Commit 8de9c5c

Browse files
Merge pull request hunter-packages#1 from kaspervandenberg/0.11-doc
0.11 doc
2 parents 288d3fc + 27a7eac commit 8de9c5c

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

libs/network/doc/getting_started.rst

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -159,20 +159,20 @@ Once the build has completed, you can now run the test suite by issuing::
159159

160160
$ make test
161161

162-
You can install :mod:`cpp-netlib` by issueing *as root*::
162+
You can install :mod:`cpp-netlib` by issueing::
163163

164-
$ make install
164+
$ sudo make install
165165

166166
By default this installs :mod:`cpp-netlib` into ``/usr/local``.
167167

168168
.. note:: As of version 0.9.3, :mod:`cpp-netlib` produces three static
169-
libraries. Using GCC on Linux these are::
169+
libraries. Using GCC on Linux these are::
170170

171-
libcppnetlib-client-connections.a
172-
libcppnetlib-server-parsers.a
173-
libcppnetlib-uri.a
171+
libcppnetlib-client-connections.a
172+
libcppnetlib-server-parsers.a
173+
libcppnetlib-uri.a
174174

175-
Users can find them in ``~/cpp-netlib-build/libs/network/src``.
175+
Users can find them in ``~/cpp-netlib-build/libs/network/src``.
176176

177177
Building On Windows
178178
~~~~~~~~~~~~~~~~~~~
@@ -184,13 +184,13 @@ look for the solution and project files as the artifacts of the call to
184184
with a number of project files for Visual Studio.
185185

186186
.. note:: As of version 0.9.3, :mod:`cpp-netlib` produces three static
187-
libraries. Using Visual C++ on Windows they are::
187+
libraries. Using Visual C++ on Windows they are::
188188

189-
cppnetlib-client-connections.lib
190-
cppnetlib-server-parsers.lib
191-
cppnetlib-uri.lib
189+
cppnetlib-client-connections.lib
190+
cppnetlib-server-parsers.lib
191+
cppnetlib-uri.lib
192192

193-
Users can find them in ``~/cpp-netlib-build/libs/network/src``.
193+
Users can find them in ``~/cpp-netlib-build/libs/network/src``.
194194

195195
Using :mod:`cpp-netlib`
196196
=======================
@@ -201,18 +201,17 @@ CMake projects
201201
Projects using CMake can add the following lines in their ``CMakeLists.txt`` to
202202
be able to use :mod:`cpp-netlib`::
203203
204-
set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ~/cpp-netlib-build )
205-
find_package ( cppnetlib 0.11.0 REQUIRED )
206-
include_directories ( ${CPPNETLIB_INCLUDE_DIRS} )
207-
target_link_libraries ( MyApplication ${CPPNETLIB_LIBRARIES} )
204+
set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ~/cpp-netlib-build )
205+
find_package ( cppnetlib 0.11.0 REQUIRED )
206+
include_directories ( ${CPPNETLIB_INCLUDE_DIRS} )
207+
target_link_libraries ( MyApplication ${CPPNETLIB_LIBRARIES} )
208208

209209
.. note:: Setting ``CMAKE_PREFIX_PATH`` is only required when :mod:`cpp-netlib`
210-
is not installed to a location that CMake searches. When
211-
:mod:`cpp-netlib` is installed to the default location
212-
(``/usr/local``), ``CMake`` can find it.
210+
is not installed to a location that CMake searches. When :mod:`cpp-netlib`
211+
is installed to the default location (``/usr/local``), ``CMake`` can find it.
213212

214213
.. note:: We assume that ``MyApplication`` is the application that you are
215-
building and which depends on :mod:`cpp-netlib`.
214+
building and which depends on :mod:`cpp-netlib`.
216215

217216

218217
Reporting Issues, Getting Support

0 commit comments

Comments
 (0)