2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/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
|
|
|
|
util.c
|
|
|
|
stubs.c
|
2013-12-25 15:03:21 +00:00
|
|
|
guid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
|
|
|
|
|
2013-09-21 12:53:07 +00:00
|
|
|
add_library(mapi32 SHARED ${SOURCE} version.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
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)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)
|