2016-03-23 20:01:51 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2016-03-23 21:24:28 +00:00
|
|
|
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
2016-03-23 20:01:51 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2020-08-28 12:28:45 +00:00
|
|
|
etw.c
|
2016-03-23 20:01:51 +00:00
|
|
|
fsrtl.c
|
2018-12-25 12:44:44 +00:00
|
|
|
io.c
|
2020-08-28 12:28:45 +00:00
|
|
|
po.c
|
2016-07-25 20:45:48 +00:00
|
|
|
ke.c
|
2016-03-23 20:01:51 +00:00
|
|
|
rtl.c)
|
|
|
|
|
|
|
|
add_library(ntoskrnl_vista ${SOURCE})
|
|
|
|
add_dependencies(ntoskrnl_vista bugcodes xdk)
|
2020-09-24 18:51:57 +00:00
|
|
|
|
|
|
|
target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
|