[KMTESTS:KE]
[reactos.git] / rostests / kmtests / ntos_io / CMakeLists.txt
1 include_directories(
2 ../include)
3
4 #
5 # IoDeviceObject
6 #
7 list(APPEND IODEVICEOBJECT_DRV_SOURCE
8 ../kmtest_drv/kmtest_standalone.c
9 IoDeviceObject_drv.c)
10
11 add_library(iodeviceobject_drv SHARED ${IODEVICEOBJECT_DRV_SOURCE})
12
13 set_module_type(iodeviceobject_drv kernelmodedriver)
14 target_link_libraries(iodeviceobject_drv kmtest_printf ${PSEH_LIB})
15 add_importlibs(iodeviceobject_drv ntoskrnl hal)
16 add_target_compile_definitions(iodeviceobject_drv KMT_STANDALONE_DRIVER)
17 #add_pch(iodeviceobject_drv ../include/kmt_test.h)
18
19 add_cd_file(TARGET iodeviceobject_drv DESTINATION reactos/bin FOR all)
20
21 #
22 # IoHelper
23 #
24 list(APPEND IOHELPER_DRV_SOURCE
25 ../kmtest_drv/kmtest_standalone.c
26 IoHelper_drv.c)
27
28 add_library(iohelper_drv SHARED ${IOHELPER_DRV_SOURCE})
29
30 set_module_type(iohelper_drv kernelmodedriver)
31 target_link_libraries(iohelper_drv kmtest_printf ${PSEH_LIB})
32 add_importlibs(iohelper_drv ntoskrnl hal)
33 add_target_compile_definitions(iohelper_drv KMT_STANDALONE_DRIVER)
34 #add_pch(iohelper_drv ../include/kmt_test.h)
35
36 add_cd_file(TARGET iohelper_drv DESTINATION reactos/bin FOR all)