baidu / braft

An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.
Apache License 2.0
3.86k stars 865 forks source link

Add vcpkg installation instructions #373

Closed Cheney-W closed 1 year ago

Cheney-W commented 1 year ago

braft available as a port in vcpkg, a C++ library manager that simplifies installation for braft and other project dependencies. Documenting the install process here will help users get started by providing a single set of commands to build braft, ready to be included in their projects.

We also test whether our library ports build in various configurations (dynamic, static) on various platforms (OSX, Linux, Windows: x86, x64) to keep a wide coverage for users.

I'm a maintainer for vcpkg, and here is what the port script looks like. We try to keep the library maintained as close as possible to the original library.