aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/functions/add_global_link_arguments.yaml
blob: 14b972adc002fde9199e15cb2a48e4bfd65ecfb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: add_global_link_arguments
returns: void
description: |
  Adds global arguments to the linker command line.

  Like [[add_global_arguments]] but the arguments are passed to the linker.

notes:
  - Usually you should use [[add_project_link_arguments]] instead,
    because that works even when you project is used as a subproject.
  - You must pass always arguments individually `arg1, arg2, ...`
    rather than as a string `'arg1 arg2', ...`

varargs:
  type: str
  name: Linker argument
  description: The linker arguments to add

kwargs_inherit: add_global_arguments