Files
Johannes Thoma c425244a36 [TDIHELPERS] Move TDI helpers from AFD driver to separate directory
We want to use the TDI helper functions also in the NETIO.SYS
driver which comes with the next commit. The code was modernized
a bit (usage of DPRINT, doxygen style comments) but other than
that it was left unchanged.
2025-11-21 21:08:03 +02:00

29 lines
659 B
CMake

include_directories(
BEFORE include
../tdihelpers/include
${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
list(APPEND SOURCE
afd/bind.c
afd/connect.c
afd/context.c
afd/info.c
afd/listen.c
afd/lock.c
afd/main.c
afd/read.c
afd/select.c
../tdihelpers/tdi.c
../tdihelpers/tdiconn.c
afd/write.c
include/afd.h)
add_library(afd MODULE ${SOURCE} afd.rc)
target_link_libraries(afd ${PSEH_LIB})
set_module_type(afd kernelmodedriver)
add_importlibs(afd ntoskrnl hal)
add_pch(afd include/afd.h SOURCE)
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(afd_reg.inf)