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