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.
18 lines
344 B
18 lines
344 B
project('extra args', 'swift') |
|
|
|
trace_fname = 'trace.json' |
|
|
|
lib = static_library('main', |
|
'main.swift', |
|
swift_args: [ |
|
'-emit-loaded-module-trace', |
|
'-emit-loaded-module-trace-path', '../' + trace_fname |
|
], |
|
) |
|
|
|
custom_target('trace_check', |
|
output: trace_fname, |
|
command: ['cat', '@OUTPUT@'], |
|
depends: lib, |
|
build_always: true, |
|
)
|
|
|