mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
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 SHARED ${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)
|