[SPOOLSS, SPOOLSV, WINSPOOL]
[reactos.git] / reactos / win32ss / printing / base / spoolsv / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
3 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/winspool.idl)
4
5 list(APPEND SOURCE
6 init.c
7 jobs.c
8 main.c
9 printers.c
10 printprocessors.c
11 precomp.h
12 rpcserver.c
13 rpcstubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
15
16 add_executable(spoolsv ${SOURCE} spoolsv.rc)
17 set_module_type(spoolsv win32cui UNICODE)
18 target_link_libraries(spoolsv wine)
19 add_delay_importlibs(spoolsv spoolss)
20 add_importlibs(spoolsv advapi32 rpcrt4 msvcrt kernel32 ntdll)
21 add_pch(spoolsv precomp.h SOURCE)
22 add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)