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.

14 lines
341 B

[constants]
toolchain = '/toolchain/'
common_flags = ['--sysroot=' + toolchain / 'sysroot']
[properties]
c_args = common_flags + ['-DSOMETHING']
cpp_args = c_args + ['-DSOMETHING_ELSE']
rel_to_src = '@GLOBAL_SOURCE_ROOT@' / 'tool'
rel_to_file = '@DIRNAME@' / 'tool'
no_escaping = '@@DIRNAME@@' / 'tool'
[binaries]
c = toolchain / compiler