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# CcPinRead 36# 37list(APPEND CCPINREAD_DRV_SOURCE 38 ../kmtest_drv/kmtest_standalone.c 39 CcPinRead_drv.c) 40 41add_library(ccpinread_drv SHARED ${CCPINREAD_DRV_SOURCE}) 42set_module_type(ccpinread_drv kernelmodedriver) 43target_link_libraries(ccpinread_drv kmtest_printf ${PSEH_LIB}) 44add_importlibs(ccpinread_drv ntoskrnl hal) 45add_target_compile_definitions(ccpinread_drv KMT_STANDALONE_DRIVER) 46#add_pch(ccmapdata_drv ../include/kmt_test.h) 47add_rostests_file(TARGET ccpinread_drv) 48