mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
0af84ce12d
Fix suggested by Hermès Bélusca-Maïto. CORE-15872
26 lines
532 B
CMake
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)
|