1remove_definitions(-D_WIN32_WINNT=0x502)
2add_definitions(-D_WIN32_WINNT=0x600)
3
4add_definitions(-DUNICODE -D_UNICODE -D_NTOSKRNL_ -D_NTSYSTEM_)
5
6include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
7
8list(APPEND SOURCE
9    etw.c
10    fsrtl.c
11    io.c
12    po.c
13    ke.c
14    ${REACTOS_SOURCE_DIR}/sdk/lib/rtl/utf8.c)
15
16add_library(ntoskrnl_vista ${SOURCE})
17target_link_libraries(ntoskrnl_vista PRIVATE pseh) # rtl_vista)
18add_dependencies(ntoskrnl_vista bugcodes xdk)
19
20target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
21