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