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
|
project('icclib', 'c', version: '2.14')
add_project_arguments('-DUNIX', language: 'c')
cc = meson.get_compiler('c')
math = cc.find_library('m', required: false)
icclib = library(
'icc',
'icc.c',
soversion: '0',
dependencies: math,
install: true,
)
executable(
'iccdump',
['iccdump.c', 'iccstd.c'],
install: true,
link_with: icclib,
dependencies: math,
)
executable(
'lutest',
['lutest.c', 'iccstd.c'],
install: false,
link_with: icclib,
dependencies: math,
)
executable(
'icclu',
['icclu.c', 'iccstd.c'],
install: false,
link_with: icclib,
dependencies: math,
)
executable(
'iccrw',
['iccrw.c', 'iccstd.c'],
install: false,
link_with: icclib,
dependencies: math,
)
executable(
'icctest',
['icctest.c', 'iccstd.c'],
install: false,
link_with: icclib,
dependencies: math,
)
|