Sync with trunk r58033.
[reactos.git] / dll / win32 / inetcomm / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 imaptransport.c
11 inetcomm_main.c
12 internettransport.c
13 mimeintl.c
14 mimeole.c
15 pop3transport.c
16 smtptransport.c
17 inetcomm.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c
19 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
20
21 add_library(inetcomm SHARED ${SOURCE})
22 set_module_type(inetcomm win32dll)
23 target_link_libraries(inetcomm uuid wine)
24
25 add_importlibs(inetcomm
26 ole32
27 oleaut32
28 ws2_32
29 user32
30 advapi32
31 msvcrt
32 kernel32
33 ntdll)
34
35 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)