mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
19 lines
439 B
CMake
19 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)
|