1 2include_directories(../include) 3 4# 5# CcCopyRead 6# 7list(APPEND CCCOPYREAD_DRV_SOURCE 8 ../kmtest_drv/kmtest_standalone.c 9 CcCopyRead_drv.c) 10 11add_library(cccopyread_drv MODULE ${CCCOPYREAD_DRV_SOURCE}) 12set_module_type(cccopyread_drv kernelmodedriver) 13target_link_libraries(cccopyread_drv kmtest_printf ${PSEH_LIB}) 14add_importlibs(cccopyread_drv ntoskrnl hal) 15target_compile_definitions(cccopyread_drv PRIVATE KMT_STANDALONE_DRIVER) 16#add_pch(cccopyread_drv ../include/kmt_test.h) 17add_rostests_file(TARGET cccopyread_drv) 18 19# 20# CcCopyWrite 21# 22list(APPEND CCCOPYWRITE_DRV_SOURCE 23 ../kmtest_drv/kmtest_standalone.c 24 CcCopyWrite_drv.c) 25 26add_library(cccopywrite_drv MODULE ${CCCOPYWRITE_DRV_SOURCE}) 27set_module_type(cccopywrite_drv kernelmodedriver) 28target_link_libraries(cccopywrite_drv kmtest_printf ${PSEH_LIB}) 29add_importlibs(cccopywrite_drv ntoskrnl hal) 30target_compile_definitions(cccopywrite_drv PRIVATE KMT_STANDALONE_DRIVER) 31#add_pch(cccopyread_drv ../include/kmt_test.h) 32add_rostests_file(TARGET cccopywrite_drv) 33 34# 35# CcMapData 36# 37list(APPEND CCMAPDATA_DRV_SOURCE 38 ../kmtest_drv/kmtest_standalone.c 39 CcMapData_drv.c) 40 41add_library(ccmapdata_drv MODULE ${CCMAPDATA_DRV_SOURCE}) 42set_module_type(ccmapdata_drv kernelmodedriver) 43target_link_libraries(ccmapdata_drv kmtest_printf ${PSEH_LIB}) 44add_importlibs(ccmapdata_drv ntoskrnl hal) 45target_compile_definitions(ccmapdata_drv PRIVATE KMT_STANDALONE_DRIVER) 46#add_pch(ccmapdata_drv ../include/kmt_test.h) 47add_rostests_file(TARGET ccmapdata_drv) 48 49# 50# CcPinMappedData 51# 52list(APPEND CCPINMAPPEDDATA_DRV_SOURCE 53 ../kmtest_drv/kmtest_standalone.c 54 CcPinMappedData_drv.c) 55 56add_library(ccpinmappeddata_drv MODULE ${CCPINMAPPEDDATA_DRV_SOURCE}) 57set_module_type(ccpinmappeddata_drv kernelmodedriver) 58target_link_libraries(ccpinmappeddata_drv kmtest_printf ${PSEH_LIB}) 59add_importlibs(ccpinmappeddata_drv ntoskrnl hal) 60target_compile_definitions(ccpinmappeddata_drv PRIVATE KMT_STANDALONE_DRIVER) 61#add_pch(ccpinmappeddata_drv ../include/kmt_test.h) 62add_rostests_file(TARGET ccpinmappeddata_drv) 63 64# 65# CcPinRead 66# 67list(APPEND CCPINREAD_DRV_SOURCE 68 ../kmtest_drv/kmtest_standalone.c 69 CcPinRead_drv.c) 70 71add_library(ccpinread_drv MODULE ${CCPINREAD_DRV_SOURCE}) 72set_module_type(ccpinread_drv kernelmodedriver) 73target_link_libraries(ccpinread_drv kmtest_printf ${PSEH_LIB}) 74add_importlibs(ccpinread_drv ntoskrnl hal) 75target_compile_definitions(ccpinread_drv PRIVATE KMT_STANDALONE_DRIVER) 76#add_pch(ccmapdata_drv ../include/kmt_test.h) 77add_rostests_file(TARGET ccpinread_drv) 78 79# 80# CcSetFileSizes 81# 82list(APPEND CCSETFILESIZES_DRV_SOURCE 83 ../kmtest_drv/kmtest_standalone.c 84 CcSetFileSizes_drv.c) 85 86add_library(ccsetfilesizes_drv MODULE ${CCSETFILESIZES_DRV_SOURCE}) 87set_module_type(ccsetfilesizes_drv kernelmodedriver) 88target_link_libraries(ccsetfilesizes_drv kmtest_printf ${PSEH_LIB}) 89add_importlibs(ccsetfilesizes_drv ntoskrnl hal) 90target_compile_definitions(ccsetfilesizes_drv PRIVATE KMT_STANDALONE_DRIVER) 91#add_pch(ccsetfilesizes_drv ../include/kmt_test.h) 92add_rostests_file(TARGET ccsetfilesizes_drv) 93