diff options
author | Andrei Alexeyev <0x416b617269@gmail.com> | 2019-04-02 22:47:10 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-02 22:47:10 +0300 |
commit | 8209180c760fe9dcbe6b3e81fbce233ff1c35a31 (patch) | |
tree | 67e2fa3ed36c20747200b7a96b132af8dc153a4f /docs/markdown/Dependencies.md | |
parent | 38273ac6684fd5b19d123427c43e851bc0b98b1b (diff) | |
download | meson-8209180c760fe9dcbe6b3e81fbce233ff1c35a31.zip meson-8209180c760fe9dcbe6b3e81fbce233ff1c35a31.tar.gz meson-8209180c760fe9dcbe6b3e81fbce233ff1c35a31.tar.bz2 |
Add shaderc dependency lookup logic
Diffstat (limited to 'docs/markdown/Dependencies.md')
-rw-r--r-- | docs/markdown/Dependencies.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 47fce8b..bd07524 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -483,6 +483,18 @@ Meson substitutes `modules` to `wx-config` invocation, it generates - `compile_args` using `wx-config --cxxflags $modules...` - `link_args` using `wx-config --libs $modules...` +## Shaderc + +*(added 0.51.0)* + +Shaderc currently does not ship with any means of detection. Nevertheless, Meson +can try to detect it using `pkg-config`, but will default to looking for the +appropriate library manually. If the `static` keyword argument is `true`, +`shaderc_combined` is preferred. Otherwise, `shaderc_shared` is preferred. Note +that it is not possible to obtain the shaderc version using this method. + +`method` may be `auto`, `pkg-config` or `system`. + ### Example ```meson |