https://github.com/splunk/pion
Pion Network Library (Boost licensed open source)
https://github.com/splunk/pion
Last synced: 5 months ago
JSON representation
Pion Network Library (Boost licensed open source)
- Host: GitHub
- URL: https://github.com/splunk/pion
- Owner: splunk
- License: bsl-1.0
- Created: 2012-07-22T03:57:23.000Z (over 13 years ago)
- Default Branch: develop
- Last Pushed: 2020-04-09T07:57:15.000Z (almost 6 years ago)
- Last Synced: 2025-07-09T15:55:31.228Z (8 months ago)
- Language: C++
- Homepage:
- Size: 3.83 MB
- Stars: 303
- Watchers: 54
- Forks: 94
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- Contributing: CONTRIBUTING.md
- License: COPYING
Awesome Lists containing this project
- awesome-microservices - Pion - C++ framework for building lightweight HTTP interfaces. (Service Toolkits / C++)
README
Pion Network Library
====================
C++ framework for building lightweight HTTP interfaces
[](https://travis-ci.org/splunk/pion)
**Project Home:** https://github.com/splunk/pion
Retrieving the code
-------------------
git clone https://github.com/splunk/pion.git
cd pion
Building the code
-----------------
*For XCode:* use `pion.xcodeproj`
*For Visual Studio:* use `pion.sln`
On Unix platforms (including Linux, OSX, etc.) you can run
./autogen.sh
./configure
to generate Makefiles using GNU autotools, followed by
make
to build everything except the unit tests.
You can build and run all the unit tests with
make check
Generate build using CMake
---------------------------
[CMake](http://www.cmake.org) is cross-platform build generator.
Pion required cmake version 2.8.10+
To generate build call
cmake [-G ] [-D...]
for example to generate MSVS2012 Win64 solution run
git clone git@github.com:splunk/pion.git
cd pion/build
cmake .. -G"Visual Studio 11 Win64"
this will create pion_solution.sln for MSVS2012/Win64
if cmake can't find dependency, use -D to control Find modules search behaviour
-DBOOST_ROOT=
-DZLIB_ROOT=
-DOPENSSL_ROOT_DIR=...
-DLOG4CPLUS_ROOT=...
Third Party Libraries
---------------------
Pion *requires* the [Boost C++ libraries](http://www.boost.org/) version 1.35
or greater. Please see the `README.boost` file within the `doc` subdirectory
for instructions on how to download, build and install Boost.
For logging, Pion may be configured to:
* use std::cout and std::cerr for logging (the default configuration)
* use one of the following open source libraries:
* [log4cplus](http://log4cplus.sourceforge.net/) (recommended; `--with-log4cplus`),
* [log4cxx](http://logging.apache.org/log4cxx/) (`--with-log4cxx`) or
* [log4cpp](http://log4cpp.sourceforge.net/) (`--with-log4cpp`).
* disable logging entirely (run `configure --disable-logging`)
Detailed build instructions are available for all of the platforms
supported by Pion within the `doc` subdirectory (`README.platform`).
License
-------
Copyright © 2007-2016 Splunk Inc.
The Pion Network Library is published under the
[Boost Software License](http://www.boost.org/users/license.html).
See COPYING for licensing information.