reactos/drivers/network/dd/pcnet/CMakeLists.txt
Victor Perevertkin 019f21ee1d
[MEDIA][CMAKE] Create add_driver_inf cmake function
*.inf files for drivers can now be placed along with the driver code
2020-04-26 20:28:04 +03:00

18 lines
439 B
CMake

add_definitions(
-DNDIS50_MINIPORT
-DNDIS_MINIPORT_DRIVER
-DNDIS_LEGACY_MINIPORT
-DNDIS51_MINIPORT)
list(APPEND SOURCE
pcnet.c
requests.c
pcnet.h)
add_library(pcnet MODULE ${SOURCE} pcnet.rc)
add_pch(pcnet pcnet.h SOURCE)
set_module_type(pcnet kernelmodedriver)
add_importlibs(pcnet ndis ntoskrnl hal)
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
add_driver_inf(pcnet netpcnet.inf)