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