xref: /dpdk/lib/eal/windows/meson.build (revision 5ffa86a2)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2019 Intel Corporation
3
4subdir('include')
5
6sources += files(
7        'eal.c',
8        'eal_alarm.c',
9        'eal_debug.c',
10        'eal_dev.c',
11        'eal_file.c',
12        'eal_hugepages.c',
13        'eal_interrupts.c',
14        'eal_lcore.c',
15        'eal_log.c',
16        'eal_memalloc.c',
17        'eal_memory.c',
18        'eal_mp.c',
19        'eal_thread.c',
20        'eal_timer.c',
21        'fnmatch.c',
22        'getopt.c',
23        'rte_thread.c',
24)
25
26dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
27
28ext_deps += [
29        cc.find_library('dbghelp'),
30        cc.find_library('setupapi'),
31        cc.find_library('ws2_32'),
32]
33if is_ms_linker
34        # Contrary to docs, VirtualAlloc2() is exported by mincore.lib.
35        ext_deps += cc.find_library('mincore')
36endif
37