reactos/drivers/network/dd/ne2000/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

14 lines
357 B
CMake

include_directories(BEFORE include)
list(APPEND SOURCE
ne2000/8390.c
ne2000/main.c
include/ne2000.h)
add_library(ne2000 MODULE ${SOURCE} ne2000.rc)
add_pch(ne2000 include/ne2000.h SOURCE)
set_module_type(ne2000 kernelmodedriver)
add_importlibs(ne2000 ndis ntoskrnl hal)
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)