summaryrefslogtreecommitdiffstats
path: root/bench/meson.build
blob: b15dd0f7cd9b51d1a57cf51c81bc805117dc9ef7 (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/bench.sh',
)