summaryrefslogtreecommitdiffstats
path: root/utils/cache_gc/meson.build
blob: 6ed86afe3d9d30203dbc8a41f4725f87e66a2a9c (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
32
33
## 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,
      libuv,
      lmdb,
    ],
    install: true,
    install_dir: get_option('sbindir'),
    install_rpath: rpath,
  )

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

endif