reactos/drivers/network/afd/CMakeLists.txt

27 lines
613 B
CMake

include_directories(
BEFORE 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
afd/tdi.c
afd/tdiconn.c
afd/write.c
include/afd.h)
add_library(afd SHARED ${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)