[KERNEL32_VISTA]
[reactos.git] / reactos / dll / win32 / kernel32_vista / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
4
5 add_definitions(-D_KERNEL32_)
6 spec2def(kernel32_vista.dll kernel32_vista.spec ADD_IMPORTLIB)
7
8 list(APPEND SOURCE
9 DllMain.c
10 GetFileInformationByHandleEx.c
11 GetTickCount64.c
12 InitOnceExecuteOnce.c
13 sync.c
14 ${CMAKE_CURRENT_BINARY_DIR}/kernel32_vista.def)
15
16 add_library(kernel32_vista SHARED ${SOURCE})
17 set_module_type(kernel32_vista win32dll ENTRYPOINT DllMain 12)
18 add_importlibs(kernel32_vista kernel32 ntdll_vista ntdll)
19 add_dependencies(kernel32_vista psdk)
20 add_cd_file(TARGET kernel32_vista DESTINATION reactos/system32 FOR all)