[USP10_WINETEST] Sync with Wine Staging 2.9. CORE-13362
[reactos.git] / rostests / kmtests / ntos_mm / CMakeLists.txt
1
2 include_directories(../include)
3
4 #
5 # NtCreateSection
6 #
7 list(APPEND NTCREATESECTION_DRV_SOURCE
8 ../kmtest_drv/kmtest_standalone.c
9 NtCreateSection_drv.c)
10
11 add_library(ntcreatesection_drv SHARED ${NTCREATESECTION_DRV_SOURCE})
12 set_module_type(ntcreatesection_drv kernelmodedriver)
13 target_link_libraries(ntcreatesection_drv kmtest_printf ${PSEH_LIB})
14 add_importlibs(ntcreatesection_drv ntoskrnl hal)
15 add_target_compile_definitions(ntcreatesection_drv KMT_STANDALONE_DRIVER)
16 #add_pch(ntcreatesection_drv ../include/kmt_test.h)
17 add_rostests_file(TARGET ntcreatesection_drv)
18
19 #
20 # MmMapLockedPagesSpecifyCache
21 #
22 list(APPEND MMMAPLOCKEDPAGESSPECIFYCACHE_DRV_SOURCE
23 ../kmtest_drv/kmtest_standalone.c
24 MmMapLockedPagesSpecifyCache_drv.c)
25
26 add_library(mmmaplockedpagesspecifycache_drv SHARED ${MMMAPLOCKEDPAGESSPECIFYCACHE_DRV_SOURCE})
27 set_module_type(mmmaplockedpagesspecifycache_drv kernelmodedriver)
28 target_link_libraries(mmmaplockedpagesspecifycache_drv kmtest_printf ${PSEH_LIB})
29 add_importlibs(mmmaplockedpagesspecifycache_drv ntoskrnl hal)
30 add_target_compile_definitions(mmmaplockedpagesspecifycache_drv KMT_STANDALONE_DRIVER)
31 #add_pch(mmmaplockedpagesspecifycache_drv ../include/kmt_test.h)
32 add_rostests_file(TARGET mmmaplockedpagesspecifycache_drv)