Skip to content

Commit

Permalink
fix(doc): Update instructions for building the C binding in README.md (
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak authored Aug 12, 2023
1 parent 053b0b9 commit 62d376a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion bindings/c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,19 @@ sudo apt install clang-format

# install and build GTest library under /usr/lib and softlink to /usr/local/lib
sudo apt-get install libgtest-dev

# install CMake
sudo apt-get install cmake

# install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# If you run the tests, install additional components

# install Valgrind
sudo apt-get install Valgrind

# install GTest
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
Expand All @@ -100,7 +113,7 @@ sudo ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
make clean
```

- To build and run the **tests**. (Note that you need to install GTest)
- To build and run the **tests**. (Note that you need to install Valgrind and GTest)

```sh
make test
Expand Down

0 comments on commit 62d376a

Please sign in to comment.