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