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