2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DNDIS40
|
|
|
|
-D_NTDRIVER_
|
|
|
|
-D_TDI_)
|
|
|
|
|
|
|
|
spec2def(tdi.sys misc/tdi.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cte/events.c
|
|
|
|
cte/string.c
|
|
|
|
cte/timer.c
|
|
|
|
misc/main.c
|
|
|
|
tdi/dereg.c
|
|
|
|
tdi/handler.c
|
|
|
|
tdi/obsolete.c
|
|
|
|
tdi/stubs.c
|
2014-02-09 17:28:01 +00:00
|
|
|
precomp.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(tdi MODULE
|
2014-02-09 17:28:01 +00:00
|
|
|
${SOURCE}
|
|
|
|
misc/tdi.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
|
|
|
|
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(tdi precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(tdi kernelmodedriver)
|
|
|
|
add_importlibs(tdi ntoskrnl hal)
|
|
|
|
add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all)
|