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