[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
5 spec2def(ntdll_vista.dll ntdll_vista.spec ADD_IMPORTLIB)
6
7 list(APPEND SOURCE
8 DllMain.c
9 condvar.c
10 srw.c
11 ${CMAKE_CURRENT_BINARY_DIR}/ntdll_vista.def)
12
13 add_library(ntdll_vista SHARED ${SOURCE})
14 set_module_type(ntdll_vista win32dll ENTRYPOINT DllMain 12)
15 add_importlibs(ntdll_vista ntdll kernel32)
16 add_dependencies(ntdll_vista psdk)
17 add_cd_file(TARGET ntdll_vista DESTINATION reactos/system32 FOR all)