xref: /reactos/dll/win32/inetcomm/CMakeLists.txt (revision 3e1f4074)
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
16list(APPEND PCH_SKIP_SOURCE
17    guid.c
18    ${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c)
19
20add_library(inetcomm MODULE
21    ${SOURCE}
22    ${PCH_SKIP_SOURCE}
23    inetcomm.rc
24    ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
25
26set_module_type(inetcomm win32dll)
27target_link_libraries(inetcomm uuid wine)
28add_importlibs(inetcomm ole32 oleaut32 ws2_32 user32 propsys urlmon msvcrt kernel32 ntdll)
29add_pch(inetcomm precomp.h "${PCH_SKIP_SOURCE}")
30add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)
31