update README

This commit is contained in:
2023-10-17 16:50:52 +02:00
parent c91910a278
commit b2a29425a3
+6 -2
View File
@@ -26,7 +26,11 @@ cp -r include_ytest/include/* ~/.local/include/
``` ```
if `/usr/include` or `~/.local/include` is in `CPATH` if `/usr/include` or `~/.local/include` is in `CPATH`
or or
execute ```export CPATH=/Path_to_dir_ytest/include_ytest/include:$CPATH``` or add the precedent line in `~/.bashrc`. execute
```
export CPATH=/Path_to_dir_ytest/include_ytest/include:$CPATH
```
or add the precedent line in `~/.bashrc`.
We can avoid these copy or export to CPATH env by adding `-I/Path_to_dir_ytest/include_ytest/include` when compiling our test. We can avoid these copy or export to CPATH env by adding `-I/Path_to_dir_ytest/include_ytest/include` when compiling our test.
@@ -37,7 +41,7 @@ add ```export LD_LIBRARY_PATH=/path_to/lib_ytest:$LD_LIBRARY_PATH``` in `~/.bas
## test examples ## test examples
`test/is_good.c` `test/is_good.c` and `permutation_test/is_good.c`
## compile and run the example ## compile and run the example
``` ```