Skip to content

Commit f750332

Browse files
docs: CMake
1 parent 010b089 commit f750332

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

readme.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,21 @@ Bound Book Format (.bbf) is a high-performance binary container designed specifi
1313
## Getting Started
1414

1515
### Prerequisites
16-
- C++17 compliant compiler (GCC/Clang/MSVC)
16+
- C++17 compliant compiler (GCC/Clang/MSVC), and optionally CMake
1717
- [xxHash](https://github.com/Cyan4973/xxHash) library
1818

1919
### Compilation
20+
21+
#### CMake
22+
23+
```bash
24+
cmake -B build
25+
cmake --build build
26+
sudo cmake --install build
27+
```
28+
29+
#### Manual
30+
2031
Linux
2132
```bash
2233
g++ -std=c++17 bbfenc.cpp libbbf.cpp xxhash.c -o bbfmux -pthread

0 commit comments

Comments
 (0)