[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_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
22
23 add_library(inetcomm SHARED ${SOURCE})
24
25 set_module_type(inetcomm win32dll)
26
27 target_link_libraries(inetcomm uuid wine)
28
29 add_importlibs(inetcomm
30 ole32
31 oleaut32
32 ws2_32
33 user32
34 advapi32
35 msvcrt
36 kernel32
37 ntdll)
38
39 add_importlib_target(inetcomm.spec)
40 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)