05050ac4ce
To verify that all DPDK headers are ok for inclusion directly in a C file, and are not missing any other pre-requisite headers, we can auto-generate for each header an empty C file that includes that header. Compiling these files will throw errors if any header has unmet dependencies. For some libraries, there may be some header files which are not for direct inclusion, but rather are to be included via other header files. To allow later checking of these files for missing includes, we separate out the indirect include files from the direct ones. To ensure ongoing compliance, we enable this build test as part of the default x86 build in "test-meson-builds.sh". Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
12 lines
345 B
Meson
12 lines
345 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
sources = files('rte_stack.c', 'rte_stack_std.c', 'rte_stack_lf.c')
|
|
headers = files('rte_stack.h')
|
|
# subheaders, not for direct inclusion by apps
|
|
indirect_headers += files(
|
|
'rte_stack_std.h',
|
|
'rte_stack_lf.h',
|
|
'rte_stack_lf_generic.h',
|
|
'rte_stack_lf_c11.h')
|