[LOCALSPL] Sync with Wine Staging 1.7.55. CORE-10536
[reactos.git] / reactos / dll / win32 / localspl / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 spec2def(localspl.dll localspl.spec)
8
9 list(APPEND SOURCE
10 localmon.c
11 localspl_main.c
12 provider.c
13 localspl_private.h)
14
15 add_library(localspl SHARED
16 ${SOURCE}
17 localspl.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
19 ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
20
21 set_module_type(localspl win32dll)
22 target_link_libraries(localspl wine)
23 add_importlibs(localspl spoolss user32 advapi32 advapi32_vista msvcrt kernel32 ntdll)
24 add_pch(localspl localspl_private.h SOURCE)
25 add_cd_file(TARGET localspl DESTINATION reactos/system32 FOR all)