Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update the README to cover new developments#621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
glynos merged 1 commit intocpp-netlib:masterfromdeanberris:update-readme
Mar 29, 2016
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 33 additions & 35 deletionsREADME.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,6 +13,21 @@ Join us on Slack: http://slack.cpp-netlib.org/

Subscribe to the mailing list: https://groups.google.com/forum/#!forum/cpp-netlib

Downloading cpp-netlib
----------------------

You can find official release packages of the library at::

http://github.com/cpp-netlib/cpp-netlib/downloads

If you want the latest code from the master branch of the project, you can
follow these instructions for cloning the project repository::

$ git clone https://github.com/cpp-netlib/cpp-netlib
$ cd cpp-netlib
$ git submodule init
$ git submodule update

Introduction
------------

Expand All@@ -35,41 +50,31 @@ This library is released under the Boost Software License (please see
http://boost.org/LICENSE_1_0.txt or the accompanying LICENSE_1_0.txt file
for the full text.

Downloading cpp-netlib
----------------------

You can find official release packages of the library at::

http://github.com/cpp-netlib/cpp-netlib/downloads

Building and Installing
-----------------------

Building with CMake
~~~~~~~~~~~~~~~~~~~

To build the libraries and run the tests with CMake, you will need to
have CMake version 2.8 or higher installed appropriately in your
system.
To build the libraries you will need to have CMake version 2.8 or higher
installed appropriately in your system.

::

$ cmake --version
cmake version 2.8.1

Inside the cpp-netlib directory, youcan issuethefollowing statements to
configure and generate the Makefiles, and buildthetests::
It is recommended that youbuild cpp-netlib outside ofthesource directory, to
avoid having issues with CMake generated files pollutingthesource directory::

$ cd ~/cpp-netlib # we're assuming it's where cpp-netlib is
$ mkdir ~/cpp-netlib-build
$ cd ~/cpp-netlib-build
$ cmake -DCMAKE_BUILD_TYPE=Debug \
> -DCMAKE_C_COMPILER=clang \
> -DCMAKE_CXX_COMPILER=clang++ \
> .
> $HOME/cpp-netlib # we're assuming this is where cpp-netlib is.

Once CMake is done with generating the Makefiles and configuring the project,
you can now build the tests and run them::

$ cd ~/cpp-netlib
$ cd ~/cpp-netlib-build
$ make
$ make test

Expand All@@ -85,8 +90,8 @@ Running Tests
If you want to run the tests that come with cpp-netlib, there are a few things
you will need. These are:

* A compiler (GCC 4.x, Clang2.8, MSVC 2008)
* A build tool (CMake_recommended, Boost.Build also an option)
* A compiler (GCC 4.x, Clang3.6, MSVC 2008)
* A build tool (CMake_is required)
* OpenSSL headers (optional)

.. note:: This assumes that you have cpp-netlib at the top-level of
Expand All@@ -96,11 +101,13 @@ you will need. These are:
Hacking on cpp-netlib
---------------------

cpp-netlibis being developed with the git_ distributed SCM system.
cpp-netlibuses git_ for tracking work, and is hosted on GitHub_.
cpp-netlib is hosted on GitHub_ following the GitHub recommended practice of
forking the repository and submitting pull requests to the source repository.
You can read more about the forking_ process and submitting `pull requests`_ if
you're not familiar with either process yet.
you're not familiar with either process yet. cpp-netib follows the GitHub pull
request model for accepting patches. You can read more about the process at
http://cpp-netlib.org/process.html#pull-requests.

.. _git: http://git-scm.com/
.. _GitHub: http://github.com/
Expand All@@ -114,19 +121,10 @@ copyright notices are at the top of each file in the project.

.. _`Boost Software License`: http://www.boost.org/LICENSE_1_0.txt

At the time of writing, there are no coding conventions being followed but if
you write in the general style that is already existing in the project that
would be greatly appreciated. Copious amounts of comments will be called out,
but code that is not self-explanatory typically at least requires a rationale
documentation in comments explaining "why" the code is written that way.

The main "upstream" repository is the one hosted by the original maintainer of
the project (Dean Michael Berris) at http://github.com/deanberris/cpp-netlib.
The "official" release repository is maintained at
http://github.com/cpp-netlib/cpp-netlib -- which is a fork of the upstream
repository. It is recommended that forks be made against the upstream repostory
and pull requests be submitted against the upstream repository so that patches
and other implementations can be curated by the original maintainer.
You can read about the cpp-netlib style guide at
http://cpp-netlib.org/style-guide.html.

The main "upstream" repository is at http://github.com/cpp-netlib/cpp-netlib.

Contact and Support
-------------------
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp