summaryrefslogtreecommitdiffstats
path: root/bench/meson.build
blob: a44bf7cc1c5fe856fb757c2a1341be6d03a5a45f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# bench
# SPDX-License-Identifier: GPL-3.0-or-later

bench_lru_src = files([
  'bench_lru.c',
])

cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)

bench_lru = executable(
  'bench_lru',
  bench_lru_src,
  dependencies: [
    contrib_dep,
    libkres_dep,
    m_dep,
  ],
)

run_target(
  'bench',
  command: '../scripts/meson/bench.sh',
)