-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmeson.build
More file actions
42 lines (36 loc) · 1 KB
/
meson.build
File metadata and controls
42 lines (36 loc) · 1 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
project('libasync', 'cpp',
default_options : [
'cpp_std=c++20'
])
libasync_inc = include_directories('include/')
libasync_dep = declare_dependency(include_directories : libasync_inc)
if get_option('install_headers')
pkgconfig = import('pkgconfig')
install_headers(
'include/async/algorithm.hpp',
'include/async/barrier.hpp',
'include/async/basic.hpp',
'include/async/cancellation.hpp',
'include/async/execution.hpp',
'include/async/mutex.hpp',
'include/async/oneshot-event.hpp',
'include/async/post-ack.hpp',
'include/async/promise.hpp',
'include/async/queue.hpp',
'include/async/recurring-event.hpp',
'include/async/result.hpp',
'include/async/sequenced-event.hpp',
'include/async/wait-group.hpp',
'include/async/generator.hpp',
subdir : 'async/')
pkgconfig.generate(
name : 'libasync',
description : 'An async primitives library for C++20',
version : meson.project_version(),
)
endif
if get_option('build_tests')
subdir('tests')
subdir('benchmarks')
endif
subdir('docs')