mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 05:46:19 +00:00
f3ea8225cb
PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture. As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv. The added API Tests cover my testing and all implemented features. One more item done from https://reactos.org/wiki/Printing !
29 lines
632 B
CMake
29 lines
632 B
CMake
|
|
spec2def(spoolss.dll spoolss.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
../marshalling.c
|
|
context.c
|
|
jobs.c
|
|
main.c
|
|
memory.c
|
|
monitors.c
|
|
ports.c
|
|
precomp.h
|
|
printerdata.c
|
|
printers.c
|
|
printprocessors.c
|
|
tools.c)
|
|
|
|
add_library(spoolss SHARED
|
|
${SOURCE}
|
|
spoolss.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/spoolss_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/spoolss.def)
|
|
|
|
set_module_type(spoolss win32dll UNICODE)
|
|
target_link_libraries(spoolss wine)
|
|
add_importlibs(spoolss advapi32 msvcrt kernel32 ntdll)
|
|
add_pch(spoolss precomp.h SOURCE)
|
|
add_cd_file(TARGET spoolss DESTINATION reactos/system32 FOR all)
|