-
Notifications
You must be signed in to change notification settings - Fork 266
Expand file tree
/
Copy pathmeson.build
More file actions
27 lines (20 loc) · 910 Bytes
/
Copy pathmeson.build
File metadata and controls
27 lines (20 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
project('quill', 'cpp',
version : '12.1.0',
meson_version : '>=0.60.0',
default_options : ['warning_level=3', 'cpp_std=c++17'])
inc_dirs = include_directories('include')
interface_compile_args = meson.get_compiler('cpp').get_supported_arguments('-Wno-gnu-zero-variadic-macro-arguments')
threads_dep = dependency('threads')
quill_dep = declare_dependency(include_directories : inc_dirs,
dependencies : [threads_dep],
compile_args : interface_compile_args)
meson.override_dependency('quill', quill_dep)
install_subdir('include/quill', install_dir : get_option('includedir'), install_tag : 'devel')
pkg_mod = import('pkgconfig')
pkg_mod.generate(
name : 'quill',
filebase : 'quill',
description : 'Asynchronous Low Latency C++ Logging Library',
subdirs : 'quill',
libraries_private : [threads_dep]
)