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