"Fossies" - the Fresh Open Source Software Archive

Member "xdelta3-3.1.0/cpp-btree/README" (26 Sep 2015, 976 Bytes) of package /linux/misc/xdelta3-3.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 This library is a C++ template library and, as such, there is no
    2 library to build and install.  Copy the .h files and use them!
    3 
    4 See http://code.google.com/p/cpp-btree/wiki/UsageInstructions for
    5 details.
    6 
    7 ----
    8 
    9 To build and run the provided tests, however, you will need to install
   10 CMake, the Google C++ Test framework, and the Google flags package.
   11 
   12 Download and install CMake from http://www.cmake.org
   13 
   14 Download and build the GoogleTest framework from
   15 http://code.google.com/p/googletest
   16 
   17 Download and install gflags from https://code.google.com/p/gflags
   18 
   19 Set GTEST_ROOT to the directory where GTEST was built.
   20 Set GFLAGS_ROOT to the directory prefix where GFLAGS is installed.
   21 
   22 export GTEST_ROOT=/path/for/gtest-x.y
   23 export GFLAGS_ROOT=/opt
   24 
   25 cmake . -Dbuild_tests=ON
   26 
   27 For example, to build on a Unix system with the clang++ compiler,
   28 
   29 export GTEST_ROOT=$(HOME)/src/googletest
   30 export GFLAGS_ROOT=/opt
   31 cmake . -G "Unix Makefiles" -Dbuild_tests=ON -DCMAKE_CXX_COMPILER=clang++