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