aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-03-10 16:22:10 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2018-03-11 00:51:18 +0200
commite79454c2a4a6fece531f568d68503126d66d3332 (patch)
treeca4bfdc05845d9e1a2c1a76444150f4a651b0685 /docs
parente6d6b609ccc3a114fefed603a238b8a4ede5d269 (diff)
downloadmeson-e79454c2a4a6fece531f568d68503126d66d3332.zip
meson-e79454c2a4a6fece531f568d68503126d66d3332.tar.gz
meson-e79454c2a4a6fece531f568d68503126d66d3332.tar.bz2
docs: Add custom dependencies missing documentation
Add some brief documnentation about custom dependency lookups which are implemented but not documented.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Dependencies.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index 1759dc1..12e1b1f 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -111,6 +111,14 @@ of all the work behind the scenes to make this work.
# Dependencies with custom lookup functionality
+## AppleFrameworks
+
+Use the `modules` keyword to list frameworks required, e.g.
+
+```meson
+dep = find_dep('appleframeworks', modules : 'foundation')
+```
+
## Boost
Boost is not a single dependency but rather a group of different
@@ -140,6 +148,10 @@ environment variables.
You can set the argument `threading` to `single` to use boost libraries that
have been compiled for single-threaded use instead.
+## GL
+
+This finds the OpenGL library in a way appropriate to the platform.
+
## GTest and GMock
GTest and GMock come as sources that must be compiled as part of your
@@ -204,6 +216,20 @@ the list of sources for the target. The `modules` keyword of
`dependency` works just like it does with Boost. It tells which
subparts of Qt the program uses.
+## SDL2
+
+SDL2 can be located using `pkg-confg`, the `sdl2-config` config tool, or as an
+OSX framework.
+
+## Valgrind
+
+Meson will find valgrind using `pkg-config`, but only uses the compilation flags
+and avoids trying to link with it's non-PIC static libs.
+
+## Vulkan
+
+Vulkan can be located using `pkg-config`, or the `VULKAN_SDK` environment variable.
+
## Dependencies using config tools
CUPS, LLVM, PCAP, [WxWidgets](#wxwidgets), libwmf, and GnuStep either do not