[PRINTING]
[reactos.git] / reactos / 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 printers.c
13 printingthread.c
14 printprocessors.c
15 tools.c)
16
17 add_library(localspl SHARED
18 ${SOURCE}
19 localspl.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
22
23 set_module_type(localspl win32dll UNICODE)
24 target_link_libraries(localspl skiplist16 wine)
25 add_importlibs(localspl advapi32 rpcrt4 spoolss msvcrt kernel32 ntdll)
26 add_pch(localspl precomp.h SOURCE)
27 add_cd_file(TARGET localspl DESTINATION reactos/system32 FOR all)