ffe5607909334fad7d5c2bd7a49adc3a9435a1a2
[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 rpcstubs.c
9 precomp.h
10 ${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
11
12 add_executable(spoolsv ${SOURCE} spoolsv.rc)
13 set_module_type(spoolsv win32cui UNICODE)
14 target_link_libraries(spoolsv wine)
15 add_importlibs(spoolsv advapi32 kernel32 msvcrt ntdll rpcrt4)
16 add_delay_importlibs(spoolsv spoolss)
17 add_pch(spoolsv precomp.h SOURCE)
18 add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)