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