1 2include_directories(../include) 3 4list(APPEND KERNEL32_DRV_SOURCE 5 ../kmtest_drv/kmtest_standalone.c 6 kernel32_drv.c) 7 8add_library(kernel32_drv MODULE ${KERNEL32_DRV_SOURCE}) 9set_module_type(kernel32_drv kernelmodedriver) 10target_link_libraries(kernel32_drv kmtest_printf ${PSEH_LIB}) 11add_importlibs(kernel32_drv ntoskrnl hal) 12target_compile_definitions(kernel32_drv PRIVATE KMT_STANDALONE_DRIVER) 13#add_pch(kernel32_drv ../include/kmt_test.h) 14add_rostests_file(TARGET kernel32_drv) 15