@@ -15,8 +15,8 @@ cpp-netlib offers the following implementations:
15
15
generate message objects from strings.
16
16
* Adapters and Wrappers -- A collection of Adapters and wrappers aimed
17
17
towards making the message type STL friendly.
18
- * Network protocol client and server implementations -- A collection
19
- of network protocol implementations that include embeddable client
18
+ * Network protocol client and server implementations -- A collection
19
+ of network protocol implementations that include embeddable client
20
20
and server types.
21
21
22
22
This library is released under the Boost Software License (please see
@@ -33,44 +33,12 @@ You can find official release packages of the library at::
33
33
Building and Installing
34
34
-----------------------
35
35
36
- Since cpp-netlib is a header-only library, there is nothing to build. To install
37
- cpp-netlib, you can choose to copy the contents of the ``boost `` directory into
38
- an existing Boost [# ]_ distribution or to a different location. All that is
39
- required is for projects that use cpp-netlib when building, have the directory
40
- where cpp-netlib is installed as part of the include paths.
41
-
42
- .. [# ] http://www.boost.org/
43
-
44
- The recommended installation procedure would be to follow the steps below::
45
-
46
- # On Linux/Mac, consider the `$` character as the shell prompt
47
- $ sudo mkdir -p /usr/local/include/cpp-netlib
48
- $ sudo cp -r cpp-netlib/boost /usr/local/include/cpp-netlib
49
-
50
- Now don't forget to add ``/usr/local/include/cpp-netlib `` in your project's
51
- compiler include directories to start using cpp-netlib in your projects.
52
-
53
- Running Tests
54
- -------------
55
-
56
- If you want to run the tests that come with cpp-netlib, there are a few things
57
- you will need. These are:
58
-
59
- * A compiler (GCC 4.x or Clang 2.8)
60
- * A build tool (CMake [# ]_ recommended, Boost.Build also an option)
61
- * OpenSSL headers (optional with CMake, mandatory for Boost.Build)
62
- * Python 2.6
63
-
64
- .. note :: This assumes that you have the cpp-netlib distribution package
65
- unpacked somwhere in your home directory. This specifically assumes that you
66
- have cpp-netlib at the toplevel of your home directory.
67
- .. [# ] http://www.cmake.org/
68
-
69
36
Building with CMake
70
37
~~~~~~~~~~~~~~~~~~~
71
38
72
- To build and run the tests with CMake, you will need to have CMake version 2.8
73
- or higher installed appropriately in your system.
39
+ To build the libraries and run the tests with CMake, you will need to
40
+ have CMake version 2.8 or higher installed appropriately in your
41
+ system.
74
42
75
43
::
76
44
@@ -81,16 +49,11 @@ Inside the cpp-netlib directory, you can issue the following statements to
81
49
configure and generate the Makefiles, and build the tests::
82
50
83
51
$ cd ~/cpp-netlib # we're assuming it's where cpp-netlib is
84
- $ cmake -DCMAKE_BUILD_TYPE=Debug \
85
- > -CMAKE_C_COMPILER =clang \
86
- > -CMAKE_CXX_COMPILER =clang++ \
52
+ $ cmake -DCMAKE_BUILD_TYPE=Debug \
53
+ > -DCMAKE_C_COMPILER =clang \
54
+ > -DCMAKE_CXX_COMPILER =clang++ \
87
55
> .
88
56
89
- .. note :: This uses the source directory as the build directory as well. At the
90
- time of this writing, cpp-netlib is meant to be tested in the same directory
91
- where the source files are, because of the way the tests depend on Python
92
- being installed and having access to Python scripts during the build.
93
-
94
57
Once CMake is done with generating the Makefiles and configuring the project,
95
58
you can now build the tests and run them::
96
59
@@ -102,7 +65,7 @@ If for some reason some of the tests fail, you can send the files in
102
65
``Testing/Temporary/ `` as attachments to the cpp-netlib `developers mailing
103
66
list `_.
104
67
105
- .. _`developers mailing list` : https://lists.sourceforge.net/lists/listinfo/ cpp-netlib-devel
68
+ .. _`developers mailing list` : cpp-netlib@googlegroups.com
106
69
107
70
Building with Boost.Build
108
71
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -113,7 +76,7 @@ to copy the ``bjam`` executable to a directory that is already in your ``PATH``
113
76
so that you don't have to go hunting for it all the time. A good place to put it
114
77
is in ``/usr/local/bin ``.
115
78
116
- .. [# ] http://www.boost.org/doc/libs/1_44_0 /more/getting_started/index.html
79
+ .. [# ] http://www.boost.org/doc/libs/release /more/getting_started/
117
80
118
81
Building and running the tests can be as simple as doing the following::
119
82
@@ -130,7 +93,21 @@ please do the following::
130
93
And then attach the ``build-test.log `` file to the email you will send to the
131
94
cpp-netlib `developers mailing list `_.
132
95
133
- .. _`developers mailing list` : https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
96
+ .. _`developers mailing list` : cpp-netlib@googlegroups.com
97
+
98
+ Running Tests
99
+ -------------
100
+
101
+ If you want to run the tests that come with cpp-netlib, there are a few things
102
+ you will need. These are:
103
+
104
+ * A compiler (GCC 4.x, Clang 2.8, MSVC 2008)
105
+ * A build tool (CMake [# ]_ recommended, Boost.Build also an option)
106
+ * OpenSSL headers (optional)
107
+
108
+ .. note :: This assumes that you have cpp-netlib at the top-level of
109
+ your home directory.
110
+ [#] http://www.cmake.org/
134
111
135
112
Hacking on cpp-netlib
136
113
---------------------
@@ -174,14 +151,10 @@ In case you have any questions or would like to make feature requests, you can
174
151
contact the development team through the `developers mailing list `_
175
152
or by filing issues at http://github.com/cpp-netlib/cpp-netlib/issues.
176
153
177
- .. _`developers mailing list` :
178
- https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel
154
+ .. _`developers mailing list` : cpp-netlib@googlegroups.com
179
155
180
156
You can reach the maintainers of the project through::
181
157
182
158
Dean Michael Berris (dberris@google.com)
183
159
184
- Glyn Matthews
185
-
186
- Mike Dickey
187
-
160
+ Glyn Matthews (glyn.matthews@gmail.com)
0 commit comments