add instructions for dev build

This commit is contained in:
blueloveTH 2023-10-04 03:23:16 +08:00
parent cf7dc098a3
commit 60294e8896

View File

@ -57,6 +57,16 @@ To compile it with your project, these flags must be set:
+ `--std=c++17` flag must be set + `--std=c++17` flag must be set
+ Exception must be enabled + Exception must be enabled
For development build on Linux, use this snippet.
```bash
# prerequisites
sudo apt-get install libc++-dev libc++abi-dev clang++
# build the repo
bash build.sh
# unittest
python scripts/run_tests.py
```
### Example ### Example
```cpp ```cpp