reactos/drivers/network/dd/nvnet/CMakeLists.txt
Stanislav Motylkov 0af84ce12d [NVNET] Remove NdisEqualMemory hack by linking with memcmp library
Fix suggested by Hermès Bélusca-Maïto. CORE-15872
2023-10-18 20:18:02 +03:00

26 lines
532 B
CMake

add_definitions(
-DNDIS_MINIPORT_DRIVER
-DNDIS51_MINIPORT=1)
list(APPEND SOURCE
backoff.c
debug.h
init.c
interrupt.c
nic.c
nic.h
nvnet.c
nvnet.h
phy.c
phyreg.h
requests.c
send.c)
add_library(nvnet MODULE ${SOURCE} nvnet.rc)
target_link_libraries(nvnet memcmp)
add_pch(nvnet nvnet.h SOURCE)
set_module_type(nvnet kernelmodedriver)
add_importlibs(nvnet ndis ntoskrnl hal)
add_cd_file(TARGET nvnet DESTINATION reactos/system32/drivers FOR all)
add_driver_inf(nvnet netnv.inf)