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