- Add a dummy winspool.drv SpoolerInit doing an RPC call to a dummy RpcSpoolerInit...
[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 main.c
8 rpcserver.c
9 rpcstubs.c
10 precomp.h
11 ${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
12
13 add_executable(spoolsv ${SOURCE} spoolsv.rc)
14 set_module_type(spoolsv win32cui UNICODE)
15 target_link_libraries(spoolsv wine)
16 add_delay_importlibs(spoolsv spoolss)
17 add_importlibs(spoolsv msvcrt kernel32 advapi32 ntdll rpcrt4)
18 add_pch(spoolsv precomp.h SOURCE)
19 add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)