b1094939a5
Rather than maintaining a separate list of libraries which are to be built on windows, use the standard library list and explicitly add to each library that is not to be built a check for windows and disable the library at that per-lib level. As well as shortening the main lib/meson.build file, this also leads to the build summary at the end of the meson config run correctly listing the libraries which are not to be built. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
27 lines
620 B
Meson
27 lines
620 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
if is_windows
|
|
build = false
|
|
reason = 'not supported on Windows'
|
|
subdir_done()
|
|
endif
|
|
|
|
sources = files(
|
|
'rte_pipeline.c',
|
|
'rte_port_in_action.c',
|
|
'rte_table_action.c',
|
|
'rte_swx_pipeline.c',
|
|
'rte_swx_pipeline_spec.c',
|
|
'rte_swx_ctl.c',
|
|
)
|
|
headers = files(
|
|
'rte_pipeline.h',
|
|
'rte_port_in_action.h',
|
|
'rte_table_action.h',
|
|
'rte_swx_pipeline.h',
|
|
'rte_swx_extern.h',
|
|
'rte_swx_ctl.h',
|
|
)
|
|
deps += ['port', 'table', 'meter', 'sched', 'cryptodev']
|