summaryrefslogtreecommitdiffstats
path: root/examples/meson.build
blob: 31d05d711aea20bdf363573bae3a21a3d2c5afe3 (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
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of libnvme.
# Copyright (c) 2021 Dell Inc.
#
# Authors: Martin Belanger <Martin.Belanger@dell.com>
#
executable(
    'telemetry-listen',
    ['telemetry-listen.c'],
    dependencies: libnvme_dep,
    include_directories: [incdir, internal_incdir]
)

executable(
    'display-columnar',
    ['display-columnar.c'],
    dependencies: libnvme_dep,
    include_directories: [incdir, internal_incdir]
)

executable(
    'display-tree',
    ['display-tree.c'],
    dependencies: libnvme_dep,
    include_directories: [incdir, internal_incdir]
)

executable(
    'discover-loop',
    ['discover-loop.c'],
    dependencies: libnvme_dep,
    include_directories: [incdir, internal_incdir]
)

executable(
    'mi-mctp',
    ['mi-mctp.c'],
    dependencies: libnvme_mi_dep,
    include_directories: [incdir, internal_incdir]
)

if libsystemd_dep.found()
    executable(
        'mi-conf',
        ['mi-conf.c'],
        dependencies: [libnvme_mi_dep, libsystemd_dep],
        include_directories: [incdir, internal_incdir]
    )
endif