diff options
author | Keefer Rourke <mail@krourke.org> | 2019-04-14 23:19:08 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-15 20:39:16 +0300 |
commit | 53a7403f10f7e286f305ee4e06b10ba4db756e48 (patch) | |
tree | 296796891f89ef0d5fb39b7ea1263fe16b1a08d7 /docs/markdown/Reference-manual.md | |
parent | 79e925b8f6473bd76ea2348e69707e3919a52220 (diff) | |
download | meson-53a7403f10f7e286f305ee4e06b10ba4db756e48.zip meson-53a7403f10f7e286f305ee4e06b10ba4db756e48.tar.gz meson-53a7403f10f7e286f305ee4e06b10ba4db756e48.tar.bz2 |
(#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.
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 5 |
1 files changed, 3 insertions, 2 deletions
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 |