mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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.
13 lines
357 B
CMake
13 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)
|