[KMTESTS:IO]
[reactos.git] / rostests / kmtests / ntos_io / CMakeLists.txt
1
2 include_directories(../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 set_module_type(iodeviceobject_drv kernelmodedriver)
13 target_link_libraries(iodeviceobject_drv kmtest_printf ${PSEH_LIB})
14 add_importlibs(iodeviceobject_drv ntoskrnl hal)
15 add_target_compile_definitions(iodeviceobject_drv KMT_STANDALONE_DRIVER)
16 #add_pch(iodeviceobject_drv ../include/kmt_test.h)
17 add_cd_file(TARGET iodeviceobject_drv DESTINATION reactos/bin FOR all)
18
19 #
20 # IoHelper
21 #
22 list(APPEND IOHELPER_DRV_SOURCE
23 ../kmtest_drv/kmtest_standalone.c
24 IoHelper_drv.c)
25
26 add_library(iohelper_drv SHARED ${IOHELPER_DRV_SOURCE})
27 set_module_type(iohelper_drv kernelmodedriver)
28 target_link_libraries(iohelper_drv kmtest_printf ${PSEH_LIB})
29 add_importlibs(iohelper_drv ntoskrnl hal)
30 add_target_compile_definitions(iohelper_drv KMT_STANDALONE_DRIVER)
31 #add_pch(iohelper_drv ../include/kmt_test.h)
32 add_cd_file(TARGET iohelper_drv DESTINATION reactos/bin FOR all)
33
34 #
35 # IoReadWrite
36 #
37 list(APPEND IOREADWRITE_DRV_SOURCE
38 ../kmtest_drv/kmtest_standalone.c
39 IoReadWrite_drv.c)
40
41 add_library(ioreadwrite_drv SHARED ${IOREADWRITE_DRV_SOURCE})
42 set_module_type(ioreadwrite_drv kernelmodedriver)
43 target_link_libraries(ioreadwrite_drv kmtest_printf ${PSEH_LIB})
44 add_importlibs(ioreadwrite_drv ntoskrnl hal)
45 add_target_compile_definitions(ioreadwrite_drv KMT_STANDALONE_DRIVER)
46 #add_pch(ioreadwrite_drv ../include/kmt_test.h)
47 add_cd_file(TARGET ioreadwrite_drv DESTINATION reactos/bin FOR all)