[INETCOMM] Sync with Wine Staging 2.2. CORE-12823
[reactos.git] / reactos / dll / win32 / inetcomm / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 imaptransport.c
8 inetcomm_main.c
9 internettransport.c
10 mimeintl.c
11 mimeole.c
12 pop3transport.c
13 protocol.c
14 smtptransport.c
15 inetcomm_private.h)
16
17 add_library(inetcomm SHARED
18 ${SOURCE}
19 guid.c
20 inetcomm.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c
22 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
23
24 set_module_type(inetcomm win32dll)
25 target_link_libraries(inetcomm uuid wine)
26 add_importlibs(inetcomm ole32 oleaut32 ws2_32 user32 propsys urlmon msvcrt kernel32 ntdll)
27 add_pch(inetcomm inetcomm_private.h SOURCE)
28 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)