mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
14 lines
424 B
Meson
14 lines
424 B
Meson
|
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
|