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.
23 lines
512 B
CMake
23 lines
512 B
CMake
|
|
add_definitions(
|
|
-DNDIS50
|
|
-D_NTDRIVER_)
|
|
|
|
include_directories(
|
|
BEFORE include
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers/ndisuio)
|
|
|
|
list(APPEND SOURCE
|
|
createclose.c
|
|
ioctl.c
|
|
main.c
|
|
misc.c
|
|
protocol.c
|
|
readwrite.c
|
|
ndisuio.h)
|
|
|
|
add_library(ndisuio MODULE ${SOURCE} ndisuio.rc)
|
|
set_module_type(ndisuio kernelmodedriver)
|
|
add_importlibs(ndisuio ndis ntoskrnl hal)
|
|
add_pch(ndisuio ndisuio.h SOURCE)
|
|
add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all)
|