Synchronize with trunk r58606.
[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 winspool.rc
9 ${CMAKE_CURRENT_BINARY_DIR}/winspool_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
11
12 add_library(winspool.drv SHARED ${SOURCE})
13 set_target_properties(winspool.drv PROPERTIES SUFFIX "")
14 set_module_type(winspool.drv win32dll UNICODE)
15 target_link_libraries(winspool.drv wine)
16 add_importlibs(winspool.drv advapi32 shlwapi msvcrt kernel32 ntdll)
17 add_cd_file(TARGET winspool.drv DESTINATION reactos/system32 FOR all)