2014-10-17 23:29:24 +00:00
|
|
|
|
|
|
|
include_directories(../include)
|
2013-04-21 19:00:10 +00:00
|
|
|
|
2017-06-29 15:30:23 +00:00
|
|
|
list(APPEND KERNEL32_DRV_SOURCE
|
2013-04-21 19:00:10 +00:00
|
|
|
../kmtest_drv/kmtest_standalone.c
|
2017-06-29 15:30:23 +00:00
|
|
|
kernel32_drv.c)
|
2013-04-21 19:00:10 +00:00
|
|
|
|
2017-06-29 15:30:23 +00:00
|
|
|
add_library(kernel32_drv SHARED ${KERNEL32_DRV_SOURCE})
|
|
|
|
set_module_type(kernel32_drv kernelmodedriver)
|
|
|
|
target_link_libraries(kernel32_drv kmtest_printf ${PSEH_LIB})
|
|
|
|
add_importlibs(kernel32_drv ntoskrnl hal)
|
|
|
|
add_target_compile_definitions(kernel32_drv KMT_STANDALONE_DRIVER)
|
|
|
|
#add_pch(kernel32_drv ../include/kmt_test.h)
|
|
|
|
add_rostests_file(TARGET kernel32_drv)
|