-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
18 lines (13 loc) · 948 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
project('cppbound', 'cpp', version: '1.0.0', default_options: ['cpp_std=c++17'])
include_dirs = include_directories('.')
headers = files('cobi.hpp', 'cobarray.hpp', 'coblist.hpp', 'cobfwdlist.hpp', 'cobskiplist.hpp')
install_headers(headers, subdir: 'cppbound')
cppbound_dep = declare_dependency(include_directories: include_dirs)
if meson.version().version_compare('>=0.54.0')
meson.override_dependency('cppbound', cppbound_dep)
endif
test('cppbound_test', executable('cppbound_test', ['bound.t.cpp'], dependencies: [cppbound_dep]))
test('coblist_test', executable('coblist.t', ['coblist.t.cpp'], dependencies: [cppbound_dep]))
test('cobfwdlist_test', executable('cobfwdlist.t', ['cobfwdlist.t.cpp'], dependencies: [cppbound_dep]))
test('cobskiplist_test', executable('cobskiplist.t', ['cobskiplist.t.cpp'], dependencies: [cppbound_dep]))
test('cobtimers_test', executable('cobtimers.t', ['cobtimers.t.cpp'], dependencies: [cppbound_dep]))