[LOCALSPL]
[reactos.git] / reactos / win32ss / printing / base / spoolss / CMakeLists.txt
1
2 spec2def(spoolss.dll spoolss.spec ADD_IMPORTLIB)
3
4 list(APPEND SOURCE
5 context.c
6 jobs.c
7 main.c
8 memory.c
9 monitors.c
10 ports.c
11 precomp.h
12 printers.c
13 printprocessors.c
14 tools.c)
15
16 add_library(spoolss SHARED
17 ${SOURCE}
18 spoolss.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/spoolss_stubs.c
20 ${CMAKE_CURRENT_BINARY_DIR}/spoolss.def)
21
22 set_module_type(spoolss win32dll UNICODE)
23 target_link_libraries(spoolss wine)
24 add_importlibs(spoolss advapi32 msvcrt kernel32 ntdll)
25 add_pch(spoolss precomp.h SOURCE)
26 add_cd_file(TARGET spoolss DESTINATION reactos/system32 FOR all)