2017-05-30 21:35:05 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
|
2017-05-30 22:01:13 +00:00
|
|
|
add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600
|
|
|
|
-D__NTDLL__
|
|
|
|
-D_NTOSKRNL_
|
|
|
|
-D_NTSYSTEM_)
|
2017-05-30 21:35:05 +00:00
|
|
|
|
|
|
|
spec2def(ntdll_vista.dll ntdll_vista.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
DllMain.c
|
|
|
|
condvar.c
|
|
|
|
srw.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntdll_vista.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(ntdll_vista MODULE ${SOURCE})
|
2017-05-30 21:35:05 +00:00
|
|
|
set_module_type(ntdll_vista win32dll ENTRYPOINT DllMain 12)
|
2017-06-05 21:37:13 +00:00
|
|
|
add_importlibs(ntdll_vista ntdll)
|
2017-05-30 21:35:05 +00:00
|
|
|
add_dependencies(ntdll_vista psdk)
|
|
|
|
add_cd_file(TARGET ntdll_vista DESTINATION reactos/system32 FOR all)
|