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