mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
019f21ee1d
*.inf files for drivers can now be placed along with the driver code
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)
|