[CMAKE]
[reactos.git] / drivers / network / afd / CMakeLists.txt
1
2 include_directories(
3 BEFORE include
4 ${REACTOS_SOURCE_DIR}/include/reactos/drivers)
5
6 list(APPEND SOURCE
7 afd/bind.c
8 afd/connect.c
9 afd/context.c
10 afd/info.c
11 afd/listen.c
12 afd/lock.c
13 afd/main.c
14 afd/read.c
15 afd/select.c
16 afd/tdi.c
17 afd/tdiconn.c
18 afd/write.c
19 afd.rc)
20
21 add_library(afd SHARED ${CMAKE_CURRENT_BINARY_DIR}/afd_afd.h.gch ${SOURCE})
22 target_link_libraries(afd ${PSEH_LIB})
23
24 set_module_type(afd kernelmodedriver)
25 add_importlibs(afd ntoskrnl hal)
26
27 add_pch(afd ${CMAKE_CURRENT_SOURCE_DIR}/include/afd.h ${SOURCE})
28
29 add_cd_file(TARGET afd DESTINATION reactos/system32/drivers)