File: meson.build

package info (click to toggle)
nvme-cli 2.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,664 kB
  • sloc: ansic: 80,727; sh: 2,257; python: 975; makefile: 70; ruby: 25
file content (17 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-License-Identifier: GPL-2.0-or-later

sources += files([
    'ccan/hash/hash.c',
    'ccan/htable/htable.c',
    'ccan/ilog/ilog.c',
    'ccan/likely/likely.c',
    'ccan/list/list.c',
    'ccan/str/debug.c',
    'ccan/str/str.c',
    'ccan/strset/strset.c',
])

if get_option('buildtype') == 'debug'
    add_project_arguments('-DCCAN_LIST_DEBUG=1',  language : ['c'])
    add_project_arguments('-DCCAN_STR_DEBUG=1',  language : ['c'])
endif