1spec2def(sendmail.dll sendmail.spec)
2
3add_definitions(
4    -D_WINE)
5
6file(GLOB_RECURSE sendmail_rc_deps res/*.*)
7add_rc_deps(sendmail.rc ${sendmail_rc_deps})
8
9list(APPEND SOURCE
10    CDeskLinkDropHandler.cpp
11    sendmail.cpp
12    precomp.hpp)
13
14add_library(sendmail MODULE
15    ${SOURCE}
16    sendmail.rc
17    ${CMAKE_CURRENT_BINARY_DIR}/sendmail.def)
18
19set_module_type(sendmail win32dll UNICODE)
20target_link_libraries(sendmail uuid wine cpprt atl_classes)
21add_delay_importlibs(sendmail ole32 oleaut32)
22add_importlibs(sendmail advapi32 shell32 user32 comctl32 shlwapi msvcrt kernel32 ntdll)
23add_pch(sendmail precomp.hpp SOURCE)
24add_cd_file(TARGET sendmail DESTINATION reactos/system32 FOR all)
25