2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 spec2def(mapi32.dll mapi32.spec)
17 ${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
20 add_library(mapi32 SHARED ${SOURCE})
22 set_module_type(mapi32 win32dll)
24 target_link_libraries(mapi32 wine uuid)
25 add_importlibs(mapi32 shlwapi shell32 user32 advapi32 msvcrt kernel32 ntdll)
26 add_cd_file(TARGET mapi32 DESTINATION reactos/system32)