2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(mapi32.dll mapi32.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
imalloc.c
|
|
|
|
mapi32_main.c
|
|
|
|
prop.c
|
|
|
|
sendmail.c
|
|
|
|
stubs.c
|
2014-02-10 12:19:56 +00:00
|
|
|
util.c
|
|
|
|
precomp.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(mapi32 MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2013-12-25 15:03:21 +00:00
|
|
|
guid.c
|
2014-02-10 12:19:56 +00:00
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
|
|
|
|
|
|
|
|
set_module_type(mapi32 win32dll)
|
2013-12-25 15:03:21 +00:00
|
|
|
target_link_libraries(mapi32 uuid wine)
|
2013-09-21 12:53:07 +00:00
|
|
|
add_importlibs(mapi32 shlwapi user32 advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(mapi32 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)
|