5d17403742a4274e26775b4167886846c1bb508a
[reactos.git] / reactos / 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 set_rc_compiler()
10 spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
11
12 list(APPEND SOURCE
13 imaptransport.c
14 inetcomm_main.c
15 internettransport.c
16 mimeintl.c
17 mimeole.c
18 pop3transport.c
19 smtptransport.c
20 inetcomm.rc
21 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c
22 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
23
24 add_library(inetcomm SHARED ${SOURCE})
25
26 set_module_type(inetcomm win32dll)
27
28 target_link_libraries(inetcomm uuid wine)
29
30 add_importlibs(inetcomm
31 ole32
32 oleaut32
33 ws2_32
34 user32
35 advapi32
36 msvcrt
37 kernel32
38 ntdll)
39
40
41 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)