[ADVAPI32_VISTA] Introduce this module to hold Vista+ exports that we need to provide...
[reactos.git] / reactos / dll / win32 / advapi32_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_ADVAPI32_)
6 spec2def(advapi32_vista.dll advapi32_vista.spec ADD_IMPORTLIB)
7
8 list(APPEND SOURCE
9 DllMain.c
10 RegDeleteTree.c
11 ${CMAKE_CURRENT_BINARY_DIR}/advapi32_vista.def)
12
13 add_library(advapi32_vista SHARED ${SOURCE})
14 set_module_type(advapi32_vista win32dll ENTRYPOINT DllMain 12)
15 add_importlibs(advapi32_vista advapi32 kernel32 ntdll)
16 add_dependencies(advapi32_vista psdk)
17 add_cd_file(TARGET advapi32_vista DESTINATION reactos/system32 FOR all)