diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-05 21:32:20 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-05 21:32:20 +0100 |
commit | 963470d28def5c7e54e8b121dc550183a7f23c1d (patch) | |
tree | 33e10b3c3ebb9dcdb066318480cbe58b16745010 | |
parent | 0230af4b5ab78b1fbaededcc42562f6b574c820f (diff) |
Update readme with info about pkg-config and how to use sibs with dependencies
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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`. |