-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmeson.build
53 lines (46 loc) · 1.44 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
project(
'monkeroecs-examples',
['cpp'],
default_options : [
'cpp_std=c++17',
'buildtype=debugoptimized',
'warning_level=3',
]
)
doxygen = find_program('doxygen', required: false)
if doxygen.found()
config = configuration_data()
config.set('WORKDIR', meson.source_root())
doxyfile = configure_file(
input: 'Doxyfile.in',
output: 'Doxyfile',
configuration: config
)
run_target('docs', command : [doxygen, doxyfile])
endif
incdir = include_directories('multi')
executable(
'everything',
files('examples/everything.cc'),
include_directories: [incdir],
install: true,
)
executable(
'bench',
files('examples/benchmark.cc'),
include_directories: [incdir],
install: true,
)
executable(
'benchs',
files('examples/synthetic_benchmarks.cc'),
include_directories: [incdir],
install: true,
)
test('events', executable('events', 'tests/events.cc', include_directories: [incdir]))
test('entities', executable('entities', 'tests/entities.cc', include_directories: [incdir]))
test('components', executable('components', 'tests/components.cc', include_directories: [incdir]))
test('foreach', executable('foreach', 'tests/foreach.cc', include_directories: [incdir]))
test('search', executable('search', 'tests/search.cc', include_directories: [incdir]))
test('concat', executable('concat', 'tests/concat.cc', include_directories: [incdir]))
test('copy', executable('copy', 'tests/copy.cc', include_directories: [incdir]))