[CMAKE]
[reactos.git] / dll / win32 / mapi32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(mapi32 ${CMAKE_CURRENT_SOURCE_DIR}/mapi32.spec ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
6
7 add_library(mapi32 SHARED
8 imalloc.c
9 mapi32_main.c
10 prop.c
11 sendmail.c
12 util.c
13 version.rc)
14
15 set_module_type(mapi32 win32dll)
16
17 target_link_libraries(mapi32
18 ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def
19 wine
20 uuid)
21
22 add_importlibs(mapi32 shlwapi shell32 user32 advapi32 kernel32 ntdll)
23 add_dependencies(mapi32 mapi32_def)
24 add_livecd_target(mapi32 reactos/system32)