[WINSPOOL]
[reactos.git] / reactos / win32ss / printing / base / winspool / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/idl)
3 add_rpc_files(client ${REACTOS_SOURCE_DIR}/include/reactos/idl/winspool.idl)
4 spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 main.c
8 precomp.h
9 ${CMAKE_CURRENT_BINARY_DIR}/winspool_c.c)
10
11 add_library(winspool SHARED
12 ${SOURCE}
13 winspool.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c
15 ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
16
17 set_target_properties(winspool PROPERTIES SUFFIX ".drv")
18 set_module_type(winspool win32dll UNICODE)
19 target_link_libraries(winspool wine ${PSEH_LIB})
20 add_importlibs(winspool gdi32 rpcrt4 msvcrt kernel32 ntdll)
21 add_pch(winspool precomp.h SOURCE)
22 add_cd_file(TARGET winspool DESTINATION reactos/system32 FOR all)