diff options
Diffstat (limited to 'xdelta3/cpp-btree/README')
-rw-r--r-- | xdelta3/cpp-btree/README | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/xdelta3/cpp-btree/README b/xdelta3/cpp-btree/README new file mode 100644 index 0000000..319fe9b --- /dev/null +++ b/xdelta3/cpp-btree/README | |||
@@ -0,0 +1,31 @@ | |||
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++ | ||