reactos/rostests/kmtests/ntos_cc/CMakeLists.txt
Pierre Schweitzer 4de2debfbb [KMTESTS:CC]
Introduce tests for Cc :-)
Currently, we only test CcCopyRead for specific alignment matters. It shows that under certain conditions, our Cc doesn't align reads it does, leading to later failure in disk.sys.
This reproduces an error observed with MS FastFAT in ReactOS.

CORE-11003

svn path=/trunk/; revision=71445
2016-05-28 19:59:10 +00:00

17 lines
548 B
CMake

include_directories(../include)
#
# IoCreateFile
#
list(APPEND CCCOPYREAD_DRV_SOURCE
../kmtest_drv/kmtest_standalone.c
CcCopyRead_drv.c)
add_library(cccopyread_drv SHARED ${CCCOPYREAD_DRV_SOURCE})
set_module_type(cccopyread_drv kernelmodedriver)
target_link_libraries(cccopyread_drv kmtest_printf ${PSEH_LIB})
add_importlibs(cccopyread_drv ntoskrnl hal)
add_target_compile_definitions(cccopyread_drv KMT_STANDALONE_DRIVER)
#add_pch(cccopyread_drv ../include/kmt_test.h)
add_cd_file(TARGET cccopyread_drv DESTINATION reactos/bin FOR all)