summaryrefslogtreecommitdiffstats
path: root/ccan/meson.build
blob: 35d2b881d4bb0005cb51f5f81f6754ef6fda81bd (plain)
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