[PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresAr...
[reactos.git] / win32ss / printing / base / winspool / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
3 add_rpc_files(client ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl)
4 spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 ../marshalling.c
8 devmode.c
9 forms.c
10 jobs.c
11 main.c
12 monitors.c
13 ports.c
14 precomp.h
15 printerdata.c
16 printerdrivers.c
17 printers.c
18 printprocessors.c
19 printproviders.c
20 ${CMAKE_CURRENT_BINARY_DIR}/winspool_c.c)
21
22 add_library(winspool SHARED
23 ${SOURCE}
24 winspool.rc
25 ${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c
26 ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
27
28 set_target_properties(winspool PROPERTIES SUFFIX ".drv")
29 set_module_type(winspool win32dll UNICODE)
30 target_link_libraries(winspool wine ${PSEH_LIB})
31 add_importlibs(winspool advapi32 gdi32 rpcrt4 msvcrt kernel32 ntdll)
32 add_pch(winspool precomp.h SOURCE)
33 add_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all)