mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
cfbb734799
See https://reactos.org/archives/public/ros-kernel/2004-June/003878.html > In the source files one set of headers is included if __NTDLL__ is defines and onother set if __NTOSKRNL__ is defines (dirty workaround for our messy headers).
21 lines
527 B
CMake
21 lines
527 B
CMake
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
add_definitions(-DUNICODE -D_UNICODE -D_NTOSKRNL_ -D_NTSYSTEM_)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
|
|
|
|
list(APPEND SOURCE
|
|
etw.c
|
|
fsrtl.c
|
|
io.c
|
|
po.c
|
|
ke.c
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/rtl/utf8.c)
|
|
|
|
add_library(ntoskrnl_vista ${SOURCE})
|
|
target_link_libraries(ntoskrnl_vista PRIVATE pseh) # rtl_vista)
|
|
add_dependencies(ntoskrnl_vista bugcodes xdk)
|
|
|
|
target_compile_definitions(ntoskrnl_vista PUBLIC NTKRNLVISTA)
|