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