2010-09-19 11:19:16 +00:00
|
|
|
|
2010-11-04 21:06:20 +00:00
|
|
|
include_directories(
|
|
|
|
BEFORE include
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
2010-09-19 11:19:16 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
afd.rc)
|
|
|
|
|
|
|
|
add_library(afd SHARED ${CMAKE_CURRENT_BINARY_DIR}/afd_afd.h.gch ${SOURCE})
|
2010-11-04 21:06:20 +00:00
|
|
|
target_link_libraries(afd ${PSEH_LIB})
|
2010-09-19 11:19:16 +00:00
|
|
|
|
2010-10-24 21:19:00 +00:00
|
|
|
set_module_type(afd kernelmodedriver)
|
2010-11-04 21:06:20 +00:00
|
|
|
add_importlibs(afd ntoskrnl hal)
|
2010-09-19 11:19:16 +00:00
|
|
|
|
|
|
|
add_pch(afd ${CMAKE_CURRENT_SOURCE_DIR}/include/afd.h ${SOURCE})
|
2010-10-24 21:19:00 +00:00
|
|
|
|
2010-11-04 21:06:20 +00:00
|
|
|
add_cab_target(afd 2)
|