spdlog/bench/meson.build

16 lines
497 B
Meson
Raw Normal View History

2019-06-30 22:27:28 +08:00
benchmark = dependency('benchmark')
bench_matrix = [
['bench', [spdlog_dep], []],
['async_bench', [spdlog_dep], []],
['formatter-bench', [spdlog_dep, benchmark], ['all']],
['latency', [spdlog_dep, benchmark], []],
]
foreach i : bench_matrix
bench_exe = executable(i[0], i[0] + '.cpp', dependencies: i[1])
benchmark('bench_' + i[0], bench_exe, args: i[2])
endforeach
2019-09-18 20:01:23 +08:00
run_command(find_program('mkdir'), meson.current_build_dir() + '/logs')