[KMTESTS:CC] Add a test showing our CcPinMappedData() implementation is broken
[reactos.git] / modules / rostests / kmtests / ntos_cc / CMakeLists.txt
1
2 include_directories(../include)
3
4 #
5 # CcCopyRead
6 #
7 list(APPEND CCCOPYREAD_DRV_SOURCE
8 ../kmtest_drv/kmtest_standalone.c
9 CcCopyRead_drv.c)
10
11 add_library(cccopyread_drv SHARED ${CCCOPYREAD_DRV_SOURCE})
12 set_module_type(cccopyread_drv kernelmodedriver)
13 target_link_libraries(cccopyread_drv kmtest_printf ${PSEH_LIB})
14 add_importlibs(cccopyread_drv ntoskrnl hal)
15 add_target_compile_definitions(cccopyread_drv KMT_STANDALONE_DRIVER)
16 #add_pch(cccopyread_drv ../include/kmt_test.h)
17 add_rostests_file(TARGET cccopyread_drv)
18
19 #
20 # CcMapData
21 #
22 list(APPEND CCMAPDATA_DRV_SOURCE
23 ../kmtest_drv/kmtest_standalone.c
24 CcMapData_drv.c)
25
26 add_library(ccmapdata_drv SHARED ${CCMAPDATA_DRV_SOURCE})
27 set_module_type(ccmapdata_drv kernelmodedriver)
28 target_link_libraries(ccmapdata_drv kmtest_printf ${PSEH_LIB})
29 add_importlibs(ccmapdata_drv ntoskrnl hal)
30 add_target_compile_definitions(ccmapdata_drv KMT_STANDALONE_DRIVER)
31 #add_pch(ccmapdata_drv ../include/kmt_test.h)
32 add_rostests_file(TARGET ccmapdata_drv)
33
34 #
35 # CcPinMappedData
36 #
37 list(APPEND CCPINMAPPEDDATA_DRV_SOURCE
38 ../kmtest_drv/kmtest_standalone.c
39 CcPinMappedData_drv.c)
40
41 add_library(ccpinmappeddata_drv SHARED ${CCPINMAPPEDDATA_DRV_SOURCE})
42 set_module_type(ccpinmappeddata_drv kernelmodedriver)
43 target_link_libraries(ccpinmappeddata_drv kmtest_printf ${PSEH_LIB})
44 add_importlibs(ccpinmappeddata_drv ntoskrnl hal)
45 add_target_compile_definitions(ccpinmappeddata_drv KMT_STANDALONE_DRIVER)
46 #add_pch(ccpinmappeddata_drv ../include/kmt_test.h)
47 add_rostests_file(TARGET ccpinmappeddata_drv)
48
49 #
50 # CcPinRead
51 #
52 list(APPEND CCPINREAD_DRV_SOURCE
53 ../kmtest_drv/kmtest_standalone.c
54 CcPinRead_drv.c)
55
56 add_library(ccpinread_drv SHARED ${CCPINREAD_DRV_SOURCE})
57 set_module_type(ccpinread_drv kernelmodedriver)
58 target_link_libraries(ccpinread_drv kmtest_printf ${PSEH_LIB})
59 add_importlibs(ccpinread_drv ntoskrnl hal)
60 add_target_compile_definitions(ccpinread_drv KMT_STANDALONE_DRIVER)
61 #add_pch(ccmapdata_drv ../include/kmt_test.h)
62 add_rostests_file(TARGET ccpinread_drv)