blob: 3ce96e510a9f8d77aedee81dcc44ceced079f874 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
s = custom_target(
'subdir_target',
command : [gen, '@OUTPUT@'],
output : ['main.rs'],
)
l = custom_target(
'lib_target',
command : [gen, '@OUTPUT@', '--mode', 'lib'],
output : ['lib.rs'],
)
lib = static_library('static_lib_generated', l)
|