Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pion Network Library (Boost licensed open source)
C++ Perl XSLT Shell

Merge pull request #75 from daminetreg/develop

Adds cmake package configuration and version file to enable find_package(libpion)
latest commit 5d99f90c9a
@vshcherbakov vshcherbakov authored
Failed to load latest commit information.
build STREAM-1401: updated OpenSSL to v1.0.1j in Windows build
cmake Merge pull request #75 from daminetreg/develop
doc Bumped version to 5.0.6
include fixed typo in the previous commit
pion.xcodeproj PION-1327: fixed pion::test::read_lines_from_file breaking on log lin…
services updates in cmake build; fixed BUILD_SHARED_LIBS=ON/OFF handling
src Merge pull request #75 from daminetreg/develop
tests updates in cmake build; fixed BUILD_SHARED_LIBS=ON/OFF handling
utils updates in cmake build; fixed BUILD_SHARED_LIBS=ON/OFF handling
.gitignore PION-1320: Debug configurations not working for MSVC
.travis.yml updates in cmake build; fixed BUILD_SHARED_LIBS=ON/OFF handling
AUTHORS Updates to make new repo with with autotools
CMakeLists.txt updates in cmake build; fixed BUILD_SHARED_LIBS=ON/OFF handling
COPYING Updates to make new repo with with autotools
ChangeLog Bumped pion version to 5.0.7
Makefile.am PION-1306: updates for pion source bundle and automated builds
NEWS Tab -> Spaces global conversion
PionNetServices.vcxproj STREAM-1221: VC12 auto upgrade changes only
README.md Updated README.md to reflect new project home
TODO Tab -> Spaces global conversion
autogen.sh Updates to make new repo with with autotools
configure.ac Bumped pion version to 5.0.7
index.html PION-1225: various fixes following merge of SPDY branch changes
pion.pc.in Tab -> Spaces global conversion
pion.sln PION-1328: Convert pion.sln to VS 2013.

README.md

Pion Network Library

C++ framework for building lightweight HTTP interfaces

Project Home: https://github.com/splunk/pion

Retrieving the code

git clone git@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 is cross-platform build generator. Pion required cmake version 2.8.10+

To generate build call

cmake <path to pion clone> [-G <generator name>] [-D<option>...]

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=<path to installed boost libraries>
-DZLIB_ROOT=<path to installed zlib>
-DOPENSSL_ROOT_DIR=...
-DLOG4CPLUS_ROOT=...

Third Party Libraries

Pion requires the Boost C++ libraries 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:

  • 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-2014 Splunk Inc.

The Pion Network Library is published under the Boost Software License. See COPYING for licensing information.

Something went wrong with that request. Please try again.