From 53a7403f10f7e286f305ee4e06b10ba4db756e48 Mon Sep 17 00:00:00 2001 From: Keefer Rourke Date: Sun, 14 Apr 2019 23:19:08 +0000 Subject: (#5260) link to builtin options in `library()` fn As a newcomer to the Meson build system, I found the documentation of the `library()` function to be a bit misleading. Eventually I found what 'user option' referred to after digging through the docs. This just adds a link back to the page that describes the options that are referred to in this paragraph. --- docs/markdown/Reference-manual.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 5825004..6fa2dd4 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1066,8 +1066,9 @@ res2 = foo / bar ``` Builds a library that is either static, shared or both depending on -the value of `default_library` user option. You should use this -instead of [`shared_library`](#shared_library), +the value of `default_library` +user [option](https://mesonbuild.com/Builtin-options.html). +You should use this instead of [`shared_library`](#shared_library), [`static_library`](#static_library) or [`both_libraries`](#both_libraries) most of the time. This allows you to toggle your entire project (including subprojects) from shared to -- cgit v1.1