forked from LaboratoryOfPlasmaPhysics/cppdict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
30 lines (25 loc) · 887 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
project(
'cppdict',
'cpp',
version : '0.0.1',
default_options : ['warning_level=3', 'cpp_std=c++17'],
license : 'GPL3'
)
cppdict_dep = declare_dependency(include_directories: include_directories('include'))
install_headers(['./include/dict.hpp'], subdir : 'cppdict')
foreach test:['basic_dict_ops','stl_compatibility']
exe = executable(test,'test/'+test+'.cpp',
dependencies:[cppdict_dep],
include_directories: include_directories('test'),
install: false
)
test(test, exe)
endforeach
demo1 = executable('demo1','examples/demo1.cpp',
dependencies:[cppdict_dep],
install: false
)
demo_visitor = executable('demo_visitor','examples/visitor.cpp',
dependencies:[cppdict_dep],
install: false
)