Added installation instructions

This commit is contained in:
Dr. Patrick Urbanke
2025-03-18 03:44:24 +01:00
parent 094bd62bd2
commit 693989c7ce

View File

@@ -53,3 +53,22 @@ if (result) {
std::cout << result.error().what() << std::endl;
}
```
## Installation
To install vcpkg:
```
git submodule update --init
./vcpkg/bootstrap-vcpkg.sh # Linux, macOS
./vcpkg/bootstrap-vcpkg.bat # Windows
# You may be prompted to install additional dependencies.
```
To compile the library:
```
cmake -S . -B build -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release
cmake --build build -j 4 # gcc, clang
cmake --build build --config Release -j 4 # MSVC
```