Sync with trunk r63174.
[reactos.git] / dll / win32 / winspool / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
4
5 list(APPEND SOURCE
6 info.c
7 stubs.c
8 precomp.h)
9
10 add_library(winspool.drv SHARED
11 ${SOURCE}
12 winspool.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
15
16 set_target_properties(winspool.drv PROPERTIES SUFFIX "")
17 set_module_type(winspool.drv win32dll UNICODE)
18 target_link_libraries(winspool.drv wine)
19 add_importlibs(winspool.drv advapi32 shlwapi msvcrt kernel32 ntdll)
20 add_pch(winspool.drv precomp.h SOURCE)
21 add_cd_file(TARGET winspool.drv DESTINATION reactos/system32 FOR all)