2014-10-17 23:29:24 +00:00
|
|
|
|
|
|
|
include_directories(../include)
|
2011-08-03 12:48:22 +00:00
|
|
|
|
2015-09-22 22:31:08 +00:00
|
|
|
#
|
|
|
|
# IoCreateFile
|
|
|
|
#
|
|
|
|
list(APPEND IOCREATEFILE_DRV_SOURCE
|
|
|
|
../kmtest_drv/kmtest_standalone.c
|
|
|
|
IoCreateFile_drv.c)
|
|
|
|
|
|
|
|
add_library(iocreatefile_drv SHARED ${IOCREATEFILE_DRV_SOURCE})
|
|
|
|
set_module_type(iocreatefile_drv kernelmodedriver)
|
|
|
|
target_link_libraries(iocreatefile_drv kmtest_printf ${PSEH_LIB})
|
|
|
|
add_importlibs(iocreatefile_drv ntoskrnl hal)
|
|
|
|
add_target_compile_definitions(iocreatefile_drv KMT_STANDALONE_DRIVER)
|
|
|
|
#add_pch(iocreatefile_drv ../include/kmt_test.h)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET iocreatefile_drv)
|
2015-09-22 22:31:08 +00:00
|
|
|
|
2011-08-11 11:37:50 +00:00
|
|
|
#
|
2011-08-17 12:04:15 +00:00
|
|
|
# IoDeviceObject
|
2011-08-11 11:37:50 +00:00
|
|
|
#
|
2011-08-17 12:04:15 +00:00
|
|
|
list(APPEND IODEVICEOBJECT_DRV_SOURCE
|
2011-08-03 12:48:22 +00:00
|
|
|
../kmtest_drv/kmtest_standalone.c
|
2011-08-17 12:04:15 +00:00
|
|
|
IoDeviceObject_drv.c)
|
2011-08-03 12:48:22 +00:00
|
|
|
|
2011-08-17 12:04:15 +00:00
|
|
|
add_library(iodeviceobject_drv SHARED ${IODEVICEOBJECT_DRV_SOURCE})
|
|
|
|
set_module_type(iodeviceobject_drv kernelmodedriver)
|
|
|
|
target_link_libraries(iodeviceobject_drv kmtest_printf ${PSEH_LIB})
|
|
|
|
add_importlibs(iodeviceobject_drv ntoskrnl hal)
|
2011-09-08 10:25:40 +00:00
|
|
|
add_target_compile_definitions(iodeviceobject_drv KMT_STANDALONE_DRIVER)
|
|
|
|
#add_pch(iodeviceobject_drv ../include/kmt_test.h)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET iodeviceobject_drv)
|
2011-08-11 11:37:50 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# IoHelper
|
|
|
|
#
|
|
|
|
list(APPEND IOHELPER_DRV_SOURCE
|
|
|
|
../kmtest_drv/kmtest_standalone.c
|
|
|
|
IoHelper_drv.c)
|
|
|
|
|
|
|
|
add_library(iohelper_drv SHARED ${IOHELPER_DRV_SOURCE})
|
|
|
|
set_module_type(iohelper_drv kernelmodedriver)
|
|
|
|
target_link_libraries(iohelper_drv kmtest_printf ${PSEH_LIB})
|
|
|
|
add_importlibs(iohelper_drv ntoskrnl hal)
|
2011-09-08 10:25:40 +00:00
|
|
|
add_target_compile_definitions(iohelper_drv KMT_STANDALONE_DRIVER)
|
|
|
|
#add_pch(iohelper_drv ../include/kmt_test.h)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET iohelper_drv)
|
2015-05-01 11:03:21 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# IoReadWrite
|
|
|
|
#
|
|
|
|
list(APPEND IOREADWRITE_DRV_SOURCE
|
|
|
|
../kmtest_drv/kmtest_standalone.c
|
|
|
|
IoReadWrite_drv.c)
|
|
|
|
|
|
|
|
add_library(ioreadwrite_drv SHARED ${IOREADWRITE_DRV_SOURCE})
|
|
|
|
set_module_type(ioreadwrite_drv kernelmodedriver)
|
|
|
|
target_link_libraries(ioreadwrite_drv kmtest_printf ${PSEH_LIB})
|
|
|
|
add_importlibs(ioreadwrite_drv ntoskrnl hal)
|
|
|
|
add_target_compile_definitions(ioreadwrite_drv KMT_STANDALONE_DRIVER)
|
|
|
|
#add_pch(ioreadwrite_drv ../include/kmt_test.h)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET ioreadwrite_drv)
|