meson.build (ac84b57b4d74606f7f83667a0606deef32b2049d) meson.build (2564dcbf510850b0de55d499a8b6c00d8730b9dd)
1sysprof = dependency('sysprof-capture-4', required: false)
1sysprof = dependency('sysprof-capture-4', method: 'pkg-config', required: false)
2glib_static = dependency('glib-2.0', version: glib_req_ver, required: false,
3 method: 'pkg-config', static: true)
4
5stress = executable(
6 'stress',
7 files('stress.c'),
8 dependencies: [glib_static, sysprof],
9 link_args: ['-static'],
10 build_by_default: false,
11)
12
13custom_target(
14 'initrd-stress.img',
15 output: 'initrd-stress.img',
16 input: stress,
17 command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@']
18)
2glib_static = dependency('glib-2.0', version: glib_req_ver, required: false,
3 method: 'pkg-config', static: true)
4
5stress = executable(
6 'stress',
7 files('stress.c'),
8 dependencies: [glib_static, sysprof],
9 link_args: ['-static'],
10 build_by_default: false,
11)
12
13custom_target(
14 'initrd-stress.img',
15 output: 'initrd-stress.img',
16 input: stress,
17 command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@']
18)