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>
48 lines
1.1 KiB
Meson
48 lines
1.1 KiB
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
|
|
|
|
if is_linux
|
|
cflags += '-DLINUX'
|
|
else
|
|
cflags += '-DBSD'
|
|
endif
|
|
|
|
sources = files(
|
|
'eventdev_private.c',
|
|
'eventdev_trace_points.c',
|
|
'rte_event_crypto_adapter.c',
|
|
'rte_event_eth_rx_adapter.c',
|
|
'rte_event_eth_tx_adapter.c',
|
|
'rte_event_ring.c',
|
|
'rte_event_timer_adapter.c',
|
|
'rte_eventdev.c',
|
|
)
|
|
headers = files(
|
|
'rte_event_crypto_adapter.h',
|
|
'rte_event_eth_rx_adapter.h',
|
|
'rte_event_eth_tx_adapter.h',
|
|
'rte_event_ring.h',
|
|
'rte_event_timer_adapter.h',
|
|
'rte_eventdev.h',
|
|
'rte_eventdev_trace_fp.h',
|
|
)
|
|
indirect_headers += files(
|
|
'rte_eventdev_core.h',
|
|
)
|
|
driver_sdk_headers += files(
|
|
'eventdev_pmd.h',
|
|
'eventdev_pmd_pci.h',
|
|
'eventdev_pmd_vdev.h',
|
|
'eventdev_trace.h',
|
|
'event_timer_adapter_pmd.h',
|
|
)
|
|
|
|
deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev']
|
|
deps += ['telemetry']
|