1 2include_directories( 3 BEFORE include 4 ${REACTOS_SOURCE_DIR}/sdk/lib/drivers/oskittcp/include) 5 6add_definitions( 7 -DNDIS40 8 -D_NTDRIVER_ 9 -D_TDI_) 10 11spec2def(tdi.sys misc/tdi.spec) 12 13list(APPEND SOURCE 14 cte/events.c 15 cte/string.c 16 cte/timer.c 17 misc/main.c 18 tdi/dereg.c 19 tdi/handler.c 20 tdi/obsolete.c 21 tdi/stubs.c 22 precomp.h) 23 24add_library(tdi MODULE 25 ${SOURCE} 26 misc/tdi.rc 27 ${CMAKE_CURRENT_BINARY_DIR}/tdi.def) 28 29add_pch(tdi precomp.h SOURCE) 30set_module_type(tdi kernelmodedriver) 31add_importlibs(tdi ntoskrnl hal) 32add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all) 33