X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=meson.build;h=ba12c7b35b51a43061ae281a01fd5449d6fd806e;hb=2ce47a17931bbb6d690592cd19f4a3f3b3dca25c;hp=3521fd55db57e86fa9c7efda0d9e8b40b3185324;hpb=db80346f0412329379cfde7a6aa0de8fd731ce4a;p=plocate diff --git a/meson.build b/meson.build index 3521fd5..ba12c7b 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('plocate', 'cpp', default_options: ['buildtype=debugoptimized','cpp_std=c++17'], version: '1.0.1-pre') +project('plocate', 'cpp', default_options: ['buildtype=debugoptimized','cpp_std=c++17'], version: '1.0.3-pre') # Make the version available as a #define. add_project_arguments('-DPLOCATE_VERSION="' + meson.project_version() + '"', language: 'cpp') @@ -22,11 +22,11 @@ executable('plocate-build', 'plocate-build.cpp', conf_data = configuration_data() conf_data.set('sbindir', get_option('prefix') + '/' + get_option('sbindir')) -configure_file(input: 'update-plocate.sh', +update_script = configure_file(input: 'update-plocate.sh', output: 'update-plocate.sh', configuration: conf_data) -install_data('update-plocate.sh', +install_data(update_script, install_dir: '/etc/cron.daily', rename: 'plocate') install_man('plocate.1') @@ -41,7 +41,7 @@ if run_command('[', '-r', pfordir + '/libic.a', ']').returncode() == 0 turbopfordep = declare_dependency( include_directories: include_directories('TurboPFor-Integer-Compression'), dependencies: meson.get_compiler('cpp').find_library('ic', dirs: pfordir)) - executable('bench', ['bench.cpp', 'io_uring_engine.cpp'], + executable('bench', ['bench.cpp', 'io_uring_engine.cpp', 'turbopfor.cpp'], dependencies: [uringdep, turbopfordep], build_by_default: false, install: false)