Commit Graph

23 Commits

Author SHA1 Message Date
Xavier Claessens a0b37a77ab doc: Add missing include_directories kwarg to compiler.preprocess()
Fixes: #11202
2022-12-21 08:31:30 -05:00
Eli Schwartz 57f91bb593
docs: clarify the semantics of the required: kwarg everywhere
Link to feature options consistently, and point out that it controls
"whether" the function finds what it's trying to find. This clues people
in to the fact that disabled features exist.
2022-12-14 18:59:26 -05:00
Marvin Scholz 85a58f12f0 interpreter: compiler: Allow array for the prefix kwarg 2022-12-06 10:59:00 -05:00
Eli Schwartz fae24d86f5
docs: clarify prog.full_path even more
The previous description update was lacking an example of why
external_program cares about inter-target dependencies.
2022-11-30 20:19:56 -05:00
Eli Schwartz dcc50b9967
docs: clarify that prog.full_path has potentially valid uses
Claiming that "it should literally never be used ever no matter what" is
confusing and wrong -- it's definitely useful sometimes, but does result
in downsides, like not tracking inter-target dependencies correctly.

Ref: #10901
2022-11-30 18:26:59 -05:00
Jussi Pakkanen 4c2b64188d
Merge pull request #10916 from xclaesse/preprocess
Add cc.preprocess() method
2022-10-23 17:24:46 +03:00
Xavier Claessens d53486bf9c Add doc and release notes for cc.preprocess() 2022-10-23 12:21:46 +02:00
Elliott Sales de Andrade fa2585d0b3 Fix typos in docs 2022-10-23 03:06:39 +03:00
Daniel Mensinger 99f510a817 docs: YAML: Add `arg_flattening: false` where required 2022-04-07 17:16:26 -04:00
Daniel Mensinger 8e13e63fca docs: Fix [[true]] --> `true` 2022-04-07 17:16:26 -04:00
Dylan Baker 9cf7a12561 docs: Add docs for structured_sources 2022-03-07 12:33:33 -08:00
Eli Schwartz 0f2f87a003
find_program: add a version() method to match the one for dependencies
It is often useful to check the found version of a program without
checking whether you can successfully find
`find_program('foo', required: false, version: '>=XXX')`
2022-03-06 19:41:21 -05:00
Dylan Baker 9c7ddf59fe interpreterobjects: deprecated passing a number to configuration_data.set10
This is currently allowed, and is used in at least a few projects. It
was not intended to work or documented, but it does and since it is in
use a full deprecation period must be used. A warning has also been
added for values < 0, which have surprising behavior.
2022-01-18 17:53:29 -05:00
Dylan Baker 9cc222c048
docs/dep.yaml: davault -> default 2022-01-14 19:20:31 -08:00
Luke Drummond 150b110e7a Clarify some wording for compiler.first_supported_argument
After a discussion implementing this for muon [1] and clarification on
IRC on Meson's behaviour.

[1] https://lists.sr.ht/~lattis/muon/patches/26722
2021-11-21 18:57:23 -05:00
Eli Schwartz 39ceb67774 docs: fix refman 2.0 regression in correctly describing find_library(has_headers)
All kwargs inherited from has_header need to be prefixed `header_` so we
cannot just do straight inheritance. And the part of the description
that highlighted the way kwargs are derived and evolved, went entirely
missing.

Fixes #9551
2021-11-09 16:59:36 -08:00
Eli Schwartz 4029705cf3 docs: fix some spelling typos 2021-11-09 16:59:36 -08:00
Hofer-Julian 939394ed31 Fix typos
"seperator" -> "separator"
2021-10-21 06:57:57 -04:00
Eli Schwartz 1d17ef3edb
docs: fix a typoed arg name and another missing arg
More stuff that got overlooked during the big refman migration.
2021-10-11 21:20:36 -04:00
Eli Schwartz a864269817
docs: restore build_target method documentation which went missing
In the refman rewrite, these functions vanished. I noticed this when I
went looking at the docs for extract_all_objects(), or should I say I
tried to go looking.
2021-10-07 21:30:55 -04:00
Daniel Mensinger b672ebca88
Minor fixups 2021-10-04 19:39:36 +02:00
Daniel Mensinger 0b9c7b74be
docs: Update YAML docs after rebase 2021-10-03 12:19:46 +02:00
Daniel Mensinger 2b482e39a9
docs: Add the YAML Reference manual 2021-10-03 11:46:34 +02:00