From 60294e889610e5e70a9377a89bb680882c147c08 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 4 Oct 2023 03:23:16 +0800 Subject: [PATCH] add instructions for dev build --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 14458ec6..f0063c8d 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,16 @@ To compile it with your project, these flags must be set: + `--std=c++17` flag must be set + 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 ```cpp