mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
a7fe68d16b
- Improve more drivers. svn path=/branches/cmake-bringup/; revision=49469
29 lines
594 B
CMake
29 lines
594 B
CMake
|
|
include_directories(
|
|
BEFORE include
|
|
${REACTOS_SOURCE_DIR}/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
|
|
afd.rc)
|
|
|
|
add_library(afd SHARED ${CMAKE_CURRENT_BINARY_DIR}/afd_afd.h.gch ${SOURCE})
|
|
target_link_libraries(afd ${PSEH_LIB})
|
|
|
|
set_module_type(afd kernelmodedriver)
|
|
add_importlibs(afd ntoskrnl hal)
|
|
|
|
add_pch(afd ${CMAKE_CURRENT_SOURCE_DIR}/include/afd.h ${SOURCE})
|
|
|
|
add_cab_target(afd 2)
|