summaryrefslogtreecommitdiff
path: root/media-libs/icclib/files/meson-3.2.0.build
blob: f6c2886e3e62922f9c1a7bad15d8268478af88b4 (plain)
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
54
55
56
57
58
59
project('icclib', 'c', version: '3.2.0')

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,
)
executable(
    'mkDispProf',
    ['mkDispProf.c', 'iccstd.c'],
    install: false,
    link_with: icclib,
    dependencies: math,
)