mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
be276dde28
for vista+ APIs implemented in ntoskrnl_vista. Now if you statically link ntoskrnl_vista into a driver, NTKERNELAPI will automatically be removed from an API definition
17 lines
384 B
CMake
17 lines
384 B
CMake
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -D_NTSYSTEM_)
|
|
|
|
list(APPEND SOURCE
|
|
etw.c
|
|
fsrtl.c
|
|
io.c
|
|
po.c
|
|
ke.c
|
|
rtl.c)
|
|
|
|
add_library(ntoskrnl_vista ${SOURCE})
|
|
add_dependencies(ntoskrnl_vista bugcodes xdk)
|
|
|
|
target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
|