using cmake
cmake
make
ninja
riscv64-unknown-linux-gnu-gcc
riscv64-unknown-linux-gnu-g++
clang-format(optional)
cmake -B build -S . -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=on
make
make run
Before you push your code, you must run make format
first.