1remove_definitions(-D_WIN32_WINNT=0x502) 2add_definitions(-D_WIN32_WINNT=0x600) 3 4add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_) 5 6list(APPEND SOURCE 7 etw.c 8 fsrtl.c 9 io.c 10 po.c 11 ke.c 12 rtl.c) 13 14add_library(ntoskrnl_vista ${SOURCE}) 15add_dependencies(ntoskrnl_vista bugcodes xdk) 16