From c951236ecd5d7183e172098105f6dd01e900007e Mon Sep 17 00:00:00 2001 From: fanasina Date: Tue, 17 Oct 2023 18:17:57 +0200 Subject: [PATCH] update README --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6718a26..ba1dedd 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ C library like `gtest / gmock` like, but works mainly with functions linux ## install +### generate the library to create `libytest.so` ``` make @@ -13,8 +14,27 @@ or ``` ./kreate_library_ytest.sh ``` +### install in local machine +this copy permenatly le library `libytest.so` and the headers of `ytest` in local machine +``` +sudo make install +``` +or +``` +sudo ./install +``` -## install lib ytest +### uninstall +this remove all files and directory copied in `make install` or `./install` +``` +sudo make uninstall +``` +or +``` +sudo ./uninstall +``` + +## using lib ytest ### include copy the headers in `include_ytest/include` to include directory, for example @@ -75,6 +95,10 @@ if we have ```` we need to add LD_LIBRARY_PATH env permanantly or ``` +LD_LIBRARY_PATH=.. ./launch_is_good_m +``` +i.e +``` LD_LIBRARY_PATH=/path_to/lib_ytest ./launch_is_good_m ``` it is th same if `./launch_is_good_c` do not find `libytest.so`