Sync with trunk r63343.
[reactos.git] / dll / win32 / inetcomm / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/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 smtptransport.c
14 inetcomm_private.h)
15
16 add_library(inetcomm SHARED
17 ${SOURCE}
18 guid.c
19 inetcomm.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
22
23 set_module_type(inetcomm win32dll)
24 target_link_libraries(inetcomm uuid wine)
25 add_importlibs(inetcomm ole32 oleaut32 ws2_32 user32 msvcrt kernel32 ntdll)
26 add_pch(inetcomm inetcomm_private.h SOURCE)
27 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)