diff --git a/README.md b/README.md index 29d7946..f67f339 100644 --- a/README.md +++ b/README.md @@ -172,3 +172,20 @@ See [LICENSE](LICENSE) for more information. ## Build with CMake Please check the [CMake build instructions](cmake/README.md). + +### Quickstart with `Ninja` + + - build `list_cpu_features` +``` + cmake -B/tmp/cpu_features -H. -GNinja -DCMAKE_BUILD_TYPE=Release + ninja -C/tmp/cpu_features + /tmp/cpu_features/list_cpu_features --json +``` + + - run tests +``` + cmake -B/tmp/cpu_features -H. -GNinja -DBUILD_TESTING=ON + ninja -C/tmp/cpu_features + ninja -C/tmp/cpu_features test + +```