-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmeson.build
34 lines (27 loc) · 859 Bytes
/
meson.build
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
project ('Acacia Bonsai', ['c', 'cpp'],
default_options : ['cpp_std=c++20', 'b_ndebug=if-release'],
license : 'GPL-3.0')
if meson.get_compiler('cpp').get_id() == 'clang'
extra_args = []
else
extra_args = ['-ftrack-macro-expansion=0',
'-fno-diagnostics-show-caret',
'-fconcepts-diagnostics-depth=2']
endif
add_global_arguments (extra_args, language: 'cpp')
spot_dep = dependency ('libspot')
bddx_dep = dependency ('libbddx')
boost_dep = dependency ('boost')
gnulib_dep = dependency ('gnulib')
posets_dep = dependency ('posets')
cpp = meson.get_compiler('cpp')
if cpp.has_header ('experimental/simd')
stdsimd_dep = declare_dependency ()
else
stdsimd_dep = dependency ('stdsimd')
endif
inc = include_directories ('lib', 'src')
subdir ('lib')
subdir ('src')
subdir ('tests')
subdir ('tests-synth')