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
|
cc = meson.get_compiler('c')
libm = cc.find_library('m')
executable('uca-info',
sources: ['info.c'],
include_directories: include_dir,
dependencies: deps,
link_with: lib,
install: true
)
executable('uca-grab',
sources: ['grab.c', 'common.c'],
include_directories: include_dir,
dependencies: deps + [libm],
link_with: lib,
install: true
)
executable('uca-benchmark',
sources: ['benchmark.c', 'common.c'],
include_directories: include_dir,
dependencies: deps,
link_with: lib,
install: true
)
|