Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

RippeR37/libbase

Repository files navigation

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 https://github.com/RippeR37/libbase.git
cd libbase
cmake -S . -B build
cmake --build build

Running unit tests

ctest --test-dir build

Using libbase in your project

For an example of how to use libbase in your project refer to the documentation or check out the CMake-based example project.

Requirements

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

Platforms tested

  • Linux
  • Windows
  • MacOS

Compilers tested

  • GCC (10 through 14)
  • Clang (13 through 18)
  • MSVC (2022 19.43)

Dependencies

Dependencies either have to be already installed and CMake has to be able to find them with find_package() or they can be resolved with VCPKG.

If you wish for CMake to use VCPKG to resolve dependencies you have to set VCPKG_ROOT environment variable before configuring the project.

License

This project is licensed under the MIT License.