aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/functions/alias_target.yaml
blob: 22ffdfd9881fb1e5d08c60472b5694ca335e66fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: alias_target
since: 0.52.0
returns: alias_tgt
description: |
  This function creates a new top-level target. Like all top-level
  targets, this integrates with the selected backend. For instance, with
  you can run it as `meson compile target_name`. This is a dummy target
  that does not execute any command, but ensures that all dependencies
  are built. Dependencies can be any build target (e.g. return value of
  [[executable]], [[custom_target]], etc)

posargs:
  target_name:
    type: str
    description: The name of the alias target

varargs:
  name: Dep
  type: tgt
  min_varargs: 1
  description: The targets to depend on