[KMTESTS:OB]
[reactos.git] / rostests / kmtests / ntos_io / CMakeLists.txt
1
2 include_directories(../include)
3
4 #
5 # IoCreateFile
6 #
7 list(APPEND IOCREATEFILE_DRV_SOURCE
8 ../kmtest_drv/kmtest_standalone.c
9 IoCreateFile_drv.c)
10
11 add_library(iocreatefile_drv SHARED ${IOCREATEFILE_DRV_SOURCE})
12 set_module_type(iocreatefile_drv kernelmodedriver)
13 target_link_libraries(iocreatefile_drv kmtest_printf ${PSEH_LIB})
14 add_importlibs(iocreatefile_drv ntoskrnl hal)
15 add_target_compile_definitions(iocreatefile_drv KMT_STANDALONE_DRIVER)
16 #add_pch(iocreatefile_drv ../include/kmt_test.h)
17 add_cd_file(TARGET iocreatefile_drv DESTINATION reactos/bin FOR all)
18
19 #
20 # IoDeviceObject
21 #
22 list(APPEND IODEVICEOBJECT_DRV_SOURCE
23 ../kmtest_drv/kmtest_standalone.c
24 IoDeviceObject_drv.c)
25
26 add_library(iodeviceobject_drv SHARED ${IODEVICEOBJECT_DRV_SOURCE})
27 set_module_type(iodeviceobject_drv kernelmodedriver)
28 target_link_libraries(iodeviceobject_drv kmtest_printf ${PSEH_LIB})
29 add_importlibs(iodeviceobject_drv ntoskrnl hal)
30 add_target_compile_definitions(iodeviceobject_drv KMT_STANDALONE_DRIVER)
31 #add_pch(iodeviceobject_drv ../include/kmt_test.h)
32 add_cd_file(TARGET iodeviceobject_drv DESTINATION reactos/bin FOR all)
33
34 #
35 # IoHelper
36 #
37 list(APPEND IOHELPER_DRV_SOURCE
38 ../kmtest_drv/kmtest_standalone.c
39 IoHelper_drv.c)
40
41 add_library(iohelper_drv SHARED ${IOHELPER_DRV_SOURCE})
42 set_module_type(iohelper_drv kernelmodedriver)
43 target_link_libraries(iohelper_drv kmtest_printf ${PSEH_LIB})
44 add_importlibs(iohelper_drv ntoskrnl hal)
45 add_target_compile_definitions(iohelper_drv KMT_STANDALONE_DRIVER)
46 #add_pch(iohelper_drv ../include/kmt_test.h)
47 add_cd_file(TARGET iohelper_drv DESTINATION reactos/bin FOR all)
48
49 #
50 # IoReadWrite
51 #
52 list(APPEND IOREADWRITE_DRV_SOURCE
53 ../kmtest_drv/kmtest_standalone.c
54 IoReadWrite_drv.c)
55
56 add_library(ioreadwrite_drv SHARED ${IOREADWRITE_DRV_SOURCE})
57 set_module_type(ioreadwrite_drv kernelmodedriver)
58 target_link_libraries(ioreadwrite_drv kmtest_printf ${PSEH_LIB})
59 add_importlibs(ioreadwrite_drv ntoskrnl hal)
60 add_target_compile_definitions(ioreadwrite_drv KMT_STANDALONE_DRIVER)
61 #add_pch(ioreadwrite_drv ../include/kmt_test.h)
62 add_cd_file(TARGET ioreadwrite_drv DESTINATION reactos/bin FOR all)