[PRINTING]
[reactos.git] / reactos / win32ss / printing / base / spoolsv / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
3 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl)
4
5 list(APPEND SOURCE
6 forms.c
7 init.c
8 jobs.c
9 main.c
10 monitors.c
11 notifications.c
12 ports.c
13 precomp.h
14 printerdata.c
15 printerdrivers.c
16 printers.c
17 printprocessors.c
18 printproviders.c
19 rpcserver.c
20 rpcstubs.c
21 xcv.c
22 ${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
23
24 add_executable(spoolsv ${SOURCE} spoolsv.rc)
25 set_module_type(spoolsv win32cui UNICODE)
26 target_link_libraries(spoolsv wine)
27 add_delay_importlibs(spoolsv spoolss)
28 add_importlibs(spoolsv advapi32 rpcrt4 msvcrt kernel32 ntdll)
29 add_pch(spoolsv precomp.h SOURCE)
30 add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)