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