reactos/win32ss/printing/base/spoolsv/CMakeLists.txt
James Tabor 62c4b828b4 [Printing] Update and Add Functions
More forwards to LocalSpl and LocalMon. At sometime will be merged together.
Bug fixes.
Printer Driver code is a wine hack. (WIP)
Added information for shell tray icon notifications.
Sync wine WinSpool driver tests. Unplugged from build.
2020-08-26 17:12:20 -05:00

39 lines
950 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl)
spec2def(spoolsv.exe spoolsv.spec ADD_IMPORTLIB)
list(APPEND SOURCE
forms.c
init.c
jobs.c
main.c
monitors.c
notifications.c
ports.c
precomp.h
printerdata.c
printerdrivers.c
printers.c
printprocessors.c
printproviders.c
rpcserver.c
rpcstubs.c
spoolfile.c
xcv.c
${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c)
add_executable(spoolsv ${SOURCE} spoolsv.rc)
if(USE_CLANG_CL)
target_compile_options(spoolsv PRIVATE "-Wno-cast-calling-convention")
endif()
set_module_type(spoolsv win32cui UNICODE)
target_link_libraries(spoolsv wine)
add_delay_importlibs(spoolsv spoolss)
add_importlibs(spoolsv advapi32 rpcrt4 msvcrt kernel32 ntdll)
add_pch(spoolsv precomp.h SOURCE)
add_cd_file(TARGET spoolsv DESTINATION reactos/system32 FOR all)