aboutsummaryrefslogtreecommitdiff
path: root/tests/migration/meson.build
blob: ac71f132901438af11179bdbd122b3b18805e7e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sysprof = dependency('sysprof-capture-4', required: false)
glib_static = dependency('glib-2.0', version: glib_req_ver, required: false,
                         method: 'pkg-config', static: true)

stress = executable(
  'stress',
  files('stress.c'),
  dependencies: [glib_static, sysprof],
  link_args: ['-static'],
  build_by_default: false,
)

custom_target(
  'initrd-stress.img',
  output: 'initrd-stress.img',
  input: stress,
  command: [find_program('initrd-stress.sh'), '@OUTPUT@', '@INPUT@']
)