aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-05 21:32:20 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-05 21:32:20 +0100
commit963470d28def5c7e54e8b121dc550183a7f23c1d (patch)
tree33e10b3c3ebb9dcdb066318480cbe58b16745010
parent0230af4b5ab78b1fbaededcc42562f6b574c820f (diff)
Update readme with info about pkg-config and how to use sibs with dependencies
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8bdf058..56ee9b2 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,10 @@ On Arch Linux, sibs can alternatively be found on aur under the name `sibs-git`
## Windows
Use vcpkg to install the required dependencies and then generate visual studio (or another system) build files using CMakeLists.txt
# Usage
-After you have installed sibs, execute `sibs` without any arguments and you will get a list of commands and description for them. For debug builds, the created binary/library files will be located under `sibs-build/<platform>/debug`. For example on linux x86_64, the path for binaries would be: `sibs-build/linux_x86_64/debug`.
+After you have installed sibs, execute `sibs` without any arguments and you will get a list of commands and description for them. For debug builds, the created binary/library files will be located under `sibs-build/<platform>/debug`. For example on linux x86_64, the path for binaries would be: `sibs-build/linux_x86_64/debug`.\
+The current recommended way of using sibs is to add dependencies as git submodules and they will automatically be used. To use system dependencies use pkg-config.\
+You can list all your system packages with `pkg-config --list-all` (if the packages provide pkg-config files). To search for a package in this list you can use grep, like so: `pkg-config --list-all | grep 'pkg-name'` (replace pkg-name with the name of the package you want to search for).\
+To then show the version of the found package you can use `pkg-config --modversion pkg-name`.
# Quirks
Zig support has not been tested properly yet and currently always links to c library.
You can run zig tests with `sibs test --file filepath` or `sibs test --all-files`.