]> git.sesse.net Git - plocate/blobdiff - meson.build
Move the cache-flushing behavior into an undocumented option, so that one does not...
[plocate] / meson.build
index cbb0cfb6cd65806188dc227bf9dd211109b29443..913fc0f8a98b04d5a2c690652eb29e8ba2a8d340 100644 (file)
@@ -6,13 +6,14 @@ add_project_arguments('-DPLOCATE_VERSION="' + meson.project_version() + '"', lan
 cxx = meson.get_compiler('cpp')
 uringdep = dependency('liburing', required: false)
 zstddep = dependency('libzstd')
+threaddep = dependency('threads')
 
 if not uringdep.found()
        add_project_arguments('-DWITHOUT_URING', language: 'cpp')
 endif
 
-executable('plocate', ['plocate.cpp', 'io_uring_engine.cpp', 'turbopfor.cpp', 'parse_trigrams.cpp'],
-       dependencies: [uringdep, zstddep],
+executable('plocate', ['plocate.cpp', 'io_uring_engine.cpp', 'turbopfor.cpp', 'parse_trigrams.cpp', 'serializer.cpp', 'access_rx_cache.cpp', 'needle.cpp'],
+       dependencies: [uringdep, zstddep, threaddep],
        install: true,
        install_mode: ['rwxr-sr-x', 'root', 'mlocate'])
 executable('plocate-build', 'plocate-build.cpp',