[CMAKE]
[reactos.git] / drivers / network / tdi / CMakeLists.txt
1
2 include_directories(BEFORE include)
3 include_directories(${REACTOS_SOURCE_DIR}/lib/drivers/oskittcp/include)
4
5 add_definitions(-DNDIS40)
6 add_definitions(-D_NTDRIVER_)
7
8 spec2def(tdi.sys misc/tdi.spec)
9
10 list(APPEND SOURCE
11 cte/string.c
12 cte/stubs.c
13 misc/main.c
14 misc/tdi.rc
15 tdi/dereg.c
16 tdi/handler.c
17 tdi/obsolete.c
18 tdi/stubs.c
19 ${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
20
21 add_library(tdi SHARED ${SOURCE})
22
23 set_module_type(tdi kernelmodedriver)
24
25 target_link_libraries(tdi
26 -lntoskrnl
27 -lhal)
28
29 add_dependencies(tdi psdk bugcodes buildno_header)
30
31 add_cab_target(tdi 2)