Added meson build support

This commit is contained in:
Daniel Mensinger
2019-06-30 16:27:28 +02:00
parent f09334dc6f
commit 822aee2b4f
5 changed files with 168 additions and 0 deletions

13
bench/meson.build Normal file
View File

@@ -0,0 +1,13 @@
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