gpcxx is a header-only library. To use it, there is no installation necessary. If you want to build the examples, the docs, or the unit test you can follow this guide.
- cmake v2.8 or newer
- git
- C++11 capable C++ compiler
- boost
- For unit tests you also need
- gmock
- gtest
- To build the documentation you need
- Doxygen
- xsltproc
- boostbook.dtd
#optional, needed to enable unittests export GPCXX_SRC_ROOT="$HOME/src/gpcxx" mkdir -p "$GPCXX_SRC_ROOT" git clone https://github.com/Ambrosys/gpcxx.git "$GPCXX_SRC_ROOT" svn checkout http://googlemock.googlecode.com/svn/tags/release-1.7.0/ "$GPCXX_SRC_ROOT/third_party/gmock"
export GPCXX_SRC_ROOT="$HOME/src/gpcxx" mkdir -p "$GPCXX_SRC_ROOT/build" #make a build directory cd "$GPCXX_SRC_ROOT/build" && cmake ..
sudo apt-get install doxygen xsltproc libboost1.55-tools-dev
#find path to boostbook.dtd apt-file search boostbook.dtd
cd "<GPCXX_SRC_ROOT>/build" make test