2014-10-17 23:29:24 +00:00
|
|
|
|
|
|
|
include_directories(../include)
|
2011-07-06 22:23:03 +00:00
|
|
|
|
|
|
|
list(APPEND EXAMPLE_DRV_SOURCE
|
|
|
|
../kmtest_drv/kmtest_standalone.c
|
|
|
|
Example_drv.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(example_drv MODULE ${EXAMPLE_DRV_SOURCE})
|
2011-07-06 22:23:03 +00:00
|
|
|
set_module_type(example_drv kernelmodedriver)
|
|
|
|
target_link_libraries(example_drv kmtest_printf ${PSEH_LIB})
|
|
|
|
add_importlibs(example_drv ntoskrnl hal)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_definitions(example_drv PRIVATE KMT_STANDALONE_DRIVER)
|
2011-09-08 10:25:40 +00:00
|
|
|
#add_pch(example_drv ../include/kmt_test.h)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET example_drv)
|