aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-22 17:40:51 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-06-27 18:29:48 -0400
commit4e439707529eafeebf1cfe628e52772ddbf5ea84 (patch)
tree53ba80a8f0b100bd6492bef1e50ec32abb4872da
parent32ebb81f1a8583f46fd8f71cecbaecd3ad66b2cd (diff)
downloadmeson-4e439707529eafeebf1cfe628e52772ddbf5ea84.zip
meson-4e439707529eafeebf1cfe628e52772ddbf5ea84.tar.gz
meson-4e439707529eafeebf1cfe628e52772ddbf5ea84.tar.bz2
docs: linkify some function references
-rw-r--r--docs/markdown/Adding-arguments.md2
-rw-r--r--docs/markdown/Build-options.md2
-rw-r--r--docs/markdown/Builtin-options.md4
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Adding-arguments.md b/docs/markdown/Adding-arguments.md
index adbc23e..db282c6 100644
--- a/docs/markdown/Adding-arguments.md
+++ b/docs/markdown/Adding-arguments.md
@@ -21,7 +21,7 @@ add_global_arguments('-DFOO=bar', language : 'c')
This makes Meson add the define to all C compilations. Usually you
would use this setting for flags for global settings. Note that for
setting the C/C++ language standard (the `-std=c99` argument in GCC),
-you would probably want to use a default option of the `project()`
+you would probably want to use a default option of the [[project]]
function. For details see the [reference manual](Reference-manual.md).
Global arguments have certain limitations. They all have to be defined
diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md
index b8f1407..f5d2d8f 100644
--- a/docs/markdown/Build-options.md
+++ b/docs/markdown/Build-options.md
@@ -85,7 +85,7 @@ argument of most functions. Currently supported in
- `auto` is the same as passing `required : false`.
- `disabled` do not look for the dependency and always return 'not-found'.
-When getting the value of this type of option using `get_option()`, a
+When getting the value of this type of option using [[get_option]], a
special [[@feature]] object is returned instead
of the string representation of the option's value. This object can be
passed to `required`:
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md
index 80c32a6..ae0cb0d 100644
--- a/docs/markdown/Builtin-options.md
+++ b/docs/markdown/Builtin-options.md
@@ -12,7 +12,7 @@ universal options, base options, compiler options.
A list of these options can be found by running `meson --help`. All
these can be set by passing `-Doption=value` to `meson` (aka `meson
-setup`), or by setting them inside `default_options` of `project()` in
+setup`), or by setting them inside `default_options` of [[project]] in
your `meson.build`. Some options can also be set by `--option=value`,
or `--option value`--- a list is shown by running `meson setup
--help`.
@@ -114,7 +114,7 @@ All other combinations of `debug` and `optimization` set `buildtype` to `'custom
These are set in the same way as universal options, either by
`-Doption=value`, or by setting them inside `default_options` of
-`project()` in your `meson.build`. However, they cannot be shown in
+[[project]] in your `meson.build`. However, they cannot be shown in
the output of `meson --help` because they depend on both the current
platform and the compiler that will be selected. The only way to see
them is to setup a builddir and then run `meson configure` on it with