/libbase

Standalone reimplementation of //base module from Chromium

Primary LanguageC++MIT LicenseMIT

libbase Language Documentation GitHub license GitHub Releases

Branch Ubuntu Windows MacOS Documentation Coverage
master Ubuntu Windows MacOS Docs codecov
develop Ubuntu Windows MacOS Docs codecov

Project description

The libbase is a small library that provides its users with a reimplementation of many useful low-level utilities known from Chromium’s //base module without the need to depend on the whole (or parts of the) Chromium itself.

For more details with examples see the documentation.

Building libbase

Building with CMake

git clone --recurse-submodules https://github.com/RippeR37/libbase.git
cd libbase
cmake -S . -B build
cmake --build build

Running unit tests

ctest --test-dir build

Requirements

  • Compiler with C++17 support
  • CMake (>= v3.13)

Platforms tested

  • Linux
  • Windows
  • MacOS

Compilers tested

  • GCC (7 through 10)
  • Clang (9 through 12)
  • MSVC (2019 19.29)

Dependencies

All dependencies are managed as submodules within third_party/ directory.

License

This project is licensed under the MIT License.