mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 00:43:21 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
19 lines
416 B
CMake
19 lines
416 B
CMake
|
|
add_definitions(
|
|
-DNDIS50_MINIPORT
|
|
-DNDIS_MINIPORT_DRIVER
|
|
-DNDIS_LEGACY_MINIPORT)
|
|
|
|
list(APPEND SOURCE
|
|
ndis.c
|
|
hardware.c
|
|
info.c
|
|
interrupt.c
|
|
nic.h)
|
|
|
|
add_library(rtl8139 MODULE ${SOURCE} rtl8139.rc)
|
|
add_pch(rtl8139 nic.h SOURCE)
|
|
set_module_type(rtl8139 kernelmodedriver)
|
|
add_importlibs(rtl8139 ndis ntoskrnl hal)
|
|
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
|