This is not an official Google product. LevelDB is a stable key-value store that is widely used at Google.
This is an experimental implementation of a key-value store.
This project uses CMake for building and testing. CMake is available in all popular Linux distributions, as well as in Homebrew.
This project uses submodules for dependency management.
git submodule update --init --recursive
If you're using Atom, the following packages can help.
apm install autocomplete-clang build build-cmake clang-format docblockr \
language-cmake linter linter-clang
If you don't mind more setup in return for more speed, replace
autocomplete-clang
and linter-clang
with you-complete-me
. This requires
setting up ycmd.
apm install autocomplete-plus build build-cmake clang-format docblockr \
language-cmake linter you-complete-me
The following commands build the project.
mkdir out
cd out
cmake .. && cmake --build .
The following command (when executed from out/
) (re)builds the project and
runs the tests.
cmake .. && cmake --build . && ctest --output-on-failure
Most third-party libraries used by this project can only be used in specific components. CMakeLists.txt
enforces these constraints, and third_party/README.md describes the motivations
behind them.