reactos/dll/shellext/sendmail/CMakeLists.txt
Jérôme Gardou ed61512236 [CMAKE] Get rid of add_compile_flags_language macro
in favor of add_compile_options and the like with generator expressions
Also take this as an opportunity to remove the C++11 standard hack, GCC 8 now defaults to C++14
2020-10-20 21:44:54 +02:00

25 lines
687 B
CMake

spec2def(sendmail.dll sendmail.spec)
add_definitions(
-D_WINE)
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)
target_link_libraries(sendmail uuid wine cpprt atl_classes)
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)