- Add all publicly available information about the spoolsv RPC interface of Windows...
[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 main.c
7 rpcserver.c
8 precomp.h
9 ${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
10
11 add_executable(spoolsv ${SOURCE} spoolsv.rc)
12 set_module_type(spoolsv win32cui UNICODE)
13 target_link_libraries(spoolsv wine)
14 add_importlibs(spoolsv advapi32 kernel32 msvcrt ntdll rpcrt4)
15 add_pch(spoolsv precomp.h SOURCE)
16 add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)