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 fsrtl.c 8 io.c 9 ke.c 10 rtl.c) 11 12add_library(ntoskrnl_vista ${SOURCE}) 13add_dependencies(ntoskrnl_vista bugcodes xdk) 14