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