xref: /dpdk/lib/eal/windows/meson.build (revision 09ce41310930ef73b4c900270de69286e13ff2e8)
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_memalloc.c',
16        'eal_memory.c',
17        'eal_mp.c',
18        'eal_thread.c',
19        'eal_timer.c',
20        'getopt.c',
21        'rte_thread.c',
22)
23
24dpdk_conf.set10('RTE_EAL_NUMA_AWARE_HUGEPAGES', true)
25
26ext_deps += [
27        cc.find_library('dbghelp'),
28        cc.find_library('setupapi'),
29        cc.find_library('ws2_32'),
30]
31if is_ms_linker
32        # Contrary to docs, VirtualAlloc2() is exported by mincore.lib.
33        ext_deps += cc.find_library('mincore')
34endif
35