2011-05-16 13:12:07 +00:00
|
|
|
|
2016-10-26 12:37:27 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl)
|
2015-05-06 12:47:20 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2015-07-17 10:57:10 +00:00
|
|
|
forms.c
|
2015-05-12 14:43:25 +00:00
|
|
|
init.c
|
2015-06-22 14:31:47 +00:00
|
|
|
jobs.c
|
2015-05-06 12:47:20 +00:00
|
|
|
main.c
|
2015-07-16 13:59:20 +00:00
|
|
|
monitors.c
|
2015-07-17 10:57:10 +00:00
|
|
|
notifications.c
|
2015-07-16 13:59:20 +00:00
|
|
|
ports.c
|
2015-07-17 10:57:10 +00:00
|
|
|
precomp.h
|
|
|
|
printerdata.c
|
|
|
|
printerdrivers.c
|
2015-06-22 14:31:47 +00:00
|
|
|
printers.c
|
|
|
|
printprocessors.c
|
2015-07-17 10:57:10 +00:00
|
|
|
printproviders.c
|
2015-05-06 12:47:20 +00:00
|
|
|
rpcserver.c
|
2015-05-11 14:14:50 +00:00
|
|
|
rpcstubs.c
|
2015-07-17 10:57:10 +00:00
|
|
|
xcv.c
|
2015-05-06 12:47:20 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
|
|
|
|
|
|
|
|
add_executable(spoolsv ${SOURCE} spoolsv.rc)
|
2017-12-07 22:26:59 +00:00
|
|
|
|
|
|
|
if(USE_CLANG_CL)
|
|
|
|
add_target_compile_flags(spoolsv "-Wno-cast-calling-convention")
|
|
|
|
endif()
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(spoolsv win32cui UNICODE)
|
2015-05-06 12:47:20 +00:00
|
|
|
target_link_libraries(spoolsv wine)
|
2015-05-11 14:14:50 +00:00
|
|
|
add_delay_importlibs(spoolsv spoolss)
|
2015-05-12 14:56:54 +00:00
|
|
|
add_importlibs(spoolsv advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
2015-05-06 12:47:20 +00:00
|
|
|
add_pch(spoolsv precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)
|