xref: /reactos/dll/win32/inetcomm/CMakeLists.txt (revision c2c66aff)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    imaptransport.c
8    inetcomm_main.c
9    internettransport.c
10    mimeintl.c
11    mimeole.c
12    pop3transport.c
13    protocol.c
14    smtptransport.c
15    inetcomm_private.h)
16
17add_library(inetcomm SHARED
18    ${SOURCE}
19    guid.c
20    inetcomm.rc
21    ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c
22    ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
23
24set_module_type(inetcomm win32dll)
25target_link_libraries(inetcomm uuid wine)
26add_importlibs(inetcomm ole32 oleaut32 ws2_32 user32 propsys urlmon msvcrt kernel32 ntdll)
27add_pch(inetcomm inetcomm_private.h SOURCE)
28add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)
29