aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/CMake-module.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/CMake-module.md')
-rw-r--r--docs/markdown/CMake-module.md11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/markdown/CMake-module.md b/docs/markdown/CMake-module.md
index b82227d..ed43f9d 100644
--- a/docs/markdown/CMake-module.md
+++ b/docs/markdown/CMake-module.md
@@ -115,9 +115,8 @@ See [the CMake options object](#cmake-options-object) for a complete
reference of all supported functions.
The CMake configuration options object is very similar to the
-[configuration data
-object](Reference-manual.md#configuration-data-object) object returned
-by [`configuration_data`](Reference-manual.md#configuration_data). It
+[[@cfg_data]] object] object returned
+by [[configuration_data]]. It
is generated by the `subproject_options` function
All configuration options have to be set *before* the subproject is
@@ -138,8 +137,8 @@ and supports the following methods:
- `dependency(target)` returns a dependency object for any CMake target. The
`include_type` kwarg *(new in 0.56.0)* controls the include type of the
returned dependency object similar to the same kwarg in the
- [`dependency()`](Reference-manual.md#dependency) function.
- - `include_directories(target)` returns a Meson `include_directories()`
+ [[dependency]] function.
+ - `include_directories(target)` returns a Meson [[@inc]]
object for the specified target. Using this function is not necessary
if the dependency object is used.
- `target(target)` returns the raw build target.
@@ -160,7 +159,7 @@ following methods are supported:
- `add_cmake_defines({'opt1': val1, ...})` add additional CMake commandline defines
- `set_override_option(opt, val)` set specific [build options](Build-options.md)
for targets. This will effectively add `opt=val` to the `override_options`
- array of the [build target](Reference-manual.md#executable)
+ array of the [[build_target]]
- `set_install(bool)` override wether targets should be installed or not
- `append_compile_args(lang, arg1, ...)` append compile flags for a specific
language to the targets