parent
f1035e0cd0
commit
5ff6049945
3 changed files with 20 additions and 0 deletions
@ -0,0 +1 @@ |
|||||||
|
print("test") |
@ -0,0 +1,18 @@ |
|||||||
|
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, |
||||||
|
) |
Loading…
Reference in new issue