(#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.
pull/4747/merge
Keefer Rourke 6 years ago committed by Jussi Pakkanen
parent 79e925b8f6
commit 53a7403f10
  1. 5
      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

Loading…
Cancel
Save