2015-05-06 12:47:20 +00:00
|
|
|
|
2016-10-26 12:37:27 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
|
|
|
|
add_rpc_files(client ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winspool.idl)
|
2015-05-17 17:19:37 +00:00
|
|
|
spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
|
2015-05-06 12:47:20 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2018-01-17 09:13:25 +00:00
|
|
|
../marshalling.c
|
2016-01-06 04:31:53 +00:00
|
|
|
devmode.c
|
2017-12-09 12:35:42 +00:00
|
|
|
forms.c
|
2015-06-22 14:31:47 +00:00
|
|
|
jobs.c
|
2015-05-06 12:47:20 +00:00
|
|
|
main.c
|
2015-07-17 10:57:10 +00:00
|
|
|
monitors.c
|
|
|
|
ports.c
|
2015-07-22 17:59:46 +00:00
|
|
|
printerdata.c
|
|
|
|
printerdrivers.c
|
2015-06-22 14:31:47 +00:00
|
|
|
printers.c
|
|
|
|
printprocessors.c
|
2015-07-22 17:59:46 +00:00
|
|
|
printproviders.c
|
2020-08-04 02:07:58 +00:00
|
|
|
spoolfile.c
|
2020-02-12 18:52:34 +00:00
|
|
|
utils.c
|
2015-05-06 12:47:20 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool_c.c)
|
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(winspool MODULE
|
2015-05-06 12:47:20 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2015-05-06 12:47:20 +00:00
|
|
|
winspool.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
|
|
|
|
|
|
|
|
set_target_properties(winspool PROPERTIES SUFFIX ".drv")
|
|
|
|
set_module_type(winspool win32dll UNICODE)
|
2015-05-12 14:56:54 +00:00
|
|
|
target_link_libraries(winspool wine ${PSEH_LIB})
|
2020-08-04 02:07:58 +00:00
|
|
|
add_importlibs(winspool advapi32 gdi32 user32 rpcrt4 msvcrt kernel32 ntdll)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(winspool precomp.h "${PCH_SKIP_SOURCE}")
|
2015-05-06 12:47:20 +00:00
|
|
|
add_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all)
|