diff options
| author | Charles Brunet <charles.brunet@optelgroup.com> | 2024-01-15 14:36:50 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-02-23 09:03:05 -0800 |
| commit | 2c7833b1c9e77d244bdbfc2b96422854f36fc68c (patch) | |
| tree | 54b922893a9b39907a59815b79607a5b277792da /docs/yaml/objects | |
| parent | 6cd2ba42fff771d958c535f6024d2887823c0d9f (diff) | |
| download | meson-2c7833b1c9e77d244bdbfc2b96422854f36fc68c.tar.gz | |
doc: fix compiler.preprocess varargs documentation
This was inherited from documentation of build target, but some sentences do not make sense in the context of the preprocessor.
Diffstat (limited to 'docs/yaml/objects')
| -rw-r--r-- | docs/yaml/objects/compiler.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml index db2ff05fd..c86ef7f4c 100644 --- a/docs/yaml/objects/compiler.yaml +++ b/docs/yaml/objects/compiler.yaml @@ -663,7 +663,17 @@ methods: will receive the same arguments (include directories, defines, etc) as with normal compilation. That includes for example args added with `add_project_arguments()`, or on the command line with `-Dc_args=-DFOO`. - varargs_inherit: _build_target_base + varargs: + name: source + type: str | file | custom_tgt | custom_idx | generated_list + description: | + Input source to preprocess. The following types are supported: + + - Strings relative to the current source directory + - [[@file]] objects defined in any preceding build file + - The return value of configure-time generators such as [[configure_file]] + - The return value of build-time generators such as + [[custom_target]] or [[generator.process]] kwargs_inherit: - compiler._include_directories kwargs: |
