The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
728 B
728 B
Can specify keyword arguments with a dictionary
You can now specify keyword arguments for any function and method call
with the kwargs
keyword argument. This is perhaps best described
with an example.
options = {'include_directories': include_directories('inc')}
...
executable(...
kwargs: options)
The above code is identical to this:
executable(...
include_directories: include_directories('inc'))
That is, Mesn will expand the dictionary given to kwargs
as if the
entries in it had been given as keyword arguments directly.
Note that any individual argument can be specified either directly or with the `kwarg`` dict but not both. If a key is specified twice, it is a hard error.