2019-11-27 10:26:49 +00:00
|
|
|
spec2def(sendmail.dll sendmail.spec)
|
|
|
|
|
|
|
|
add_definitions(
|
2020-09-18 09:08:58 +00:00
|
|
|
-D_WINE)
|
2019-11-27 10:26:49 +00:00
|
|
|
|
|
|
|
file(GLOB_RECURSE sendmail_rc_deps res/*.*)
|
|
|
|
add_rc_deps(sendmail.rc ${sendmail_rc_deps})
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
CDeskLinkDropHandler.cpp
|
|
|
|
sendmail.cpp
|
|
|
|
precomp.hpp)
|
|
|
|
|
|
|
|
add_library(sendmail MODULE
|
|
|
|
${SOURCE}
|
|
|
|
sendmail.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sendmail.def)
|
|
|
|
|
|
|
|
set_module_type(sendmail win32dll UNICODE)
|
2020-09-18 09:08:58 +00:00
|
|
|
target_link_libraries(sendmail uuid wine cpprt atl_classes)
|
2019-11-27 10:26:49 +00:00
|
|
|
add_delay_importlibs(sendmail ole32 oleaut32)
|
|
|
|
add_importlibs(sendmail advapi32 shell32 user32 comctl32 shlwapi msvcrt kernel32 ntdll)
|
|
|
|
add_pch(sendmail precomp.hpp SOURCE)
|
|
|
|
add_cd_file(TARGET sendmail DESTINATION reactos/system32 FOR all)
|