mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
![James Tabor](/assets/img/avatar_default.png)
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.
39 lines
950 B
CMake
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)
|