bf2a54204054d4958c385348e114b61343342336
[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}/lib/skiplist)
5
6 list(APPEND SOURCE
7 jobs.c
8 main.c
9 precomp.h
10 printers.c
11 printprocessors.c
12 tools.c)
13
14 add_library(localspl SHARED
15 ${SOURCE}
16 localspl.rc
17 ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
19
20 set_module_type(localspl win32dll UNICODE)
21 target_link_libraries(localspl skiplist16 wine)
22 add_importlibs(localspl advapi32 rpcrt4 spoolss msvcrt kernel32 ntdll)
23 add_pch(localspl precomp.h SOURCE)
24 add_cd_file(TARGET localspl DESTINATION reactos/system32 FOR all)