2025-02-16 12:16:06 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
2025-02-16 12:15:30 +01:00
|
|
|
sources += files([
|
|
|
|
'ccan/list/list.c',
|
|
|
|
'ccan/str/debug.c',
|
|
|
|
'ccan/str/str.c',
|
|
|
|
])
|
|
|
|
|
|
|
|
if get_option('buildtype') == 'debug'
|
2025-02-16 12:16:44 +01:00
|
|
|
add_project_arguments('-DCCAN_LIST_DEBUG=1', language : ['c'])
|
|
|
|
add_project_arguments('-DCCAN_STR_DEBUG=1', language : ['c'])
|
2025-02-16 12:15:30 +01:00
|
|
|
endif
|