summaryrefslogtreecommitdiffstats
path: root/utils/cache_gc/meson.build
blob: 02ab6c639399017d6150a6a772d35f15721c1aed (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
25
26
27
28
29
30
31
## utils/cache_gc
# SPDX-License-Identifier: GPL-3.0-or-later

cache_gc_src = files([
  'categories.c',
  'db.c',
  'kr_cache_gc.c',
  'main.c',
])
c_src_lint += cache_gc_src

if build_utils
  cache_gc = executable(
    'kres-cache-gc',
    cache_gc_src,
    dependencies: [
      kresconfig_dep,
      contrib_dep,
      libkres_dep,
      libknot,
      luajit_inc,
    ],
    install: true,
    install_dir: get_option('sbindir'),
  )

integr_tests += [
  ['gc_cache_overflow', meson.current_source_dir() / 'test.integr'],
]

endif