1
2spec2def(localspl.dll localspl.spec ADD_IMPORTLIB)
3
4include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/skiplist)
5
6list(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
19add_library(localspl MODULE
20    ${SOURCE}
21    localspl.rc
22    ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
23    ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
24
25set_module_type(localspl win32dll UNICODE)
26target_link_libraries(localspl skiplist16 wine)
27add_importlibs(localspl advapi32 netapi32 rpcrt4 secur32 spoolss msvcrt kernel32 ntdll)
28add_pch(localspl precomp.h SOURCE)
29add_cd_file(TARGET localspl DESTINATION reactos/system32 FOR all)
30