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 SHARED ${CCCOPYREAD_DRV_SOURCE}) 12set_module_type(cccopyread_drv kernelmodedriver) 13target_link_libraries(cccopyread_drv kmtest_printf ${PSEH_LIB}) 14add_importlibs(cccopyread_drv ntoskrnl hal) 15add_target_compile_definitions(cccopyread_drv KMT_STANDALONE_DRIVER) 16#add_pch(cccopyread_drv ../include/kmt_test.h) 17add_rostests_file(TARGET cccopyread_drv) 18 19# 20# CcMapData 21# 22list(APPEND CCMAPDATA_DRV_SOURCE 23 ../kmtest_drv/kmtest_standalone.c 24 CcMapData_drv.c) 25 26add_library(ccmapdata_drv SHARED ${CCMAPDATA_DRV_SOURCE}) 27set_module_type(ccmapdata_drv kernelmodedriver) 28target_link_libraries(ccmapdata_drv kmtest_printf ${PSEH_LIB}) 29add_importlibs(ccmapdata_drv ntoskrnl hal) 30add_target_compile_definitions(ccmapdata_drv KMT_STANDALONE_DRIVER) 31#add_pch(ccmapdata_drv ../include/kmt_test.h) 32add_rostests_file(TARGET ccmapdata_drv) 33 34# 35# CcPinMappedData 36# 37list(APPEND CCPINMAPPEDDATA_DRV_SOURCE 38 ../kmtest_drv/kmtest_standalone.c 39 CcPinMappedData_drv.c) 40 41add_library(ccpinmappeddata_drv SHARED ${CCPINMAPPEDDATA_DRV_SOURCE}) 42set_module_type(ccpinmappeddata_drv kernelmodedriver) 43target_link_libraries(ccpinmappeddata_drv kmtest_printf ${PSEH_LIB}) 44add_importlibs(ccpinmappeddata_drv ntoskrnl hal) 45add_target_compile_definitions(ccpinmappeddata_drv KMT_STANDALONE_DRIVER) 46#add_pch(ccpinmappeddata_drv ../include/kmt_test.h) 47add_rostests_file(TARGET ccpinmappeddata_drv) 48 49# 50# CcPinRead 51# 52list(APPEND CCPINREAD_DRV_SOURCE 53 ../kmtest_drv/kmtest_standalone.c 54 CcPinRead_drv.c) 55 56add_library(ccpinread_drv SHARED ${CCPINREAD_DRV_SOURCE}) 57set_module_type(ccpinread_drv kernelmodedriver) 58target_link_libraries(ccpinread_drv kmtest_printf ${PSEH_LIB}) 59add_importlibs(ccpinread_drv ntoskrnl hal) 60add_target_compile_definitions(ccpinread_drv KMT_STANDALONE_DRIVER) 61#add_pch(ccmapdata_drv ../include/kmt_test.h) 62add_rostests_file(TARGET ccpinread_drv) 63 64# 65# CcSetFileSizes 66# 67list(APPEND CCSETFILESIZES_DRV_SOURCE 68 ../kmtest_drv/kmtest_standalone.c 69 CcSetFileSizes_drv.c) 70 71add_library(ccsetfilesizes_drv SHARED ${CCSETFILESIZES_DRV_SOURCE}) 72set_module_type(ccsetfilesizes_drv kernelmodedriver) 73target_link_libraries(ccsetfilesizes_drv kmtest_printf ${PSEH_LIB}) 74add_importlibs(ccsetfilesizes_drv ntoskrnl hal) 75add_target_compile_definitions(ccsetfilesizes_drv KMT_STANDALONE_DRIVER) 76#add_pch(ccsetfilesizes_drv ../include/kmt_test.h) 77add_rostests_file(TARGET ccsetfilesizes_drv) 78