levedb compiled and used

What is leveldb

leveldb of Google's open-source two large cattle kv store database for write once read many little circumstances, be able to handle the amount of data one billion level
leveldb of GitHub address

Compiled using

Download:
git clone --recurse-submodules https://github.com/google/leveldb.git
leveldb support cmake, the compiler is very simple, according to the description README.md
execute the following command in the Linux platform can compile and test hard leveldb libraries:

mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build .

Libleveldb.a and you can see a bunch of executable files in the build directory

  • Problems encountered:
    in the implementation of cmake being given is about GoogleTest, and before the rollback several versions just fine

Guess you like

Origin www.cnblogs.com/ljqblogs/p/12150479.html