[LOCALUI] Sync with Wine Staging 3.3. CORE-14434
[reactos.git] / win32ss / printing / providers / localspl / CMakeLists.txt
1
2 spec2def(localspl.dll localspl.spec ADD_IMPORTLIB)
3
4 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/skiplist)
5
6 list(APPEND SOURCE
7 jobs.c
8 main.c
9 monitors.c
10 ports.c
11 precomp.h
12 printerdata.c
13 printers.c
14 printingthread.c
15 printprocessors.c
16 tools.c)
17
18 add_library(localspl SHARED
19 ${SOURCE}
20 localspl.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
22 ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
23
24 set_module_type(localspl win32dll UNICODE)
25 target_link_libraries(localspl skiplist16 wine)
26 add_importlibs(localspl advapi32 netapi32 rpcrt4 secur32 spoolss msvcrt kernel32 ntdll)
27 add_pch(localspl precomp.h SOURCE)
28 add_cd_file(TARGET localspl DESTINATION reactos/system32 FOR all)