diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-22 17:56:56 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-10-03 12:19:45 +0200 |
commit | 2327cb5eb3ebbbca78701cf4a27ead376d245ffe (patch) | |
tree | 7c843f091e06d168ffa073f0db41d70daef68c9d /docs/markdown/CMake-module.md | |
parent | 5dd8171fb3d226eaef52faa821286cf79d0f8a2a (diff) | |
download | meson-2327cb5eb3ebbbca78701cf4a27ead376d245ffe.zip meson-2327cb5eb3ebbbca78701cf4a27ead376d245ffe.tar.gz meson-2327cb5eb3ebbbca78701cf4a27ead376d245ffe.tar.bz2 |
docs: Fix broken links
Diffstat (limited to 'docs/markdown/CMake-module.md')
-rw-r--r-- | docs/markdown/CMake-module.md | 11 |
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 |