[UMPNPMGR] Improve some DPRINTS and PNP_CreateKey
[reactos.git] / dll / win32 / mapi32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(mapi32.dll mapi32.spec)
5
6 list(APPEND SOURCE
7 imalloc.c
8 mapi32_main.c
9 prop.c
10 sendmail.c
11 stubs.c
12 util.c
13 precomp.h)
14
15 add_library(mapi32 MODULE
16 ${SOURCE}
17 guid.c
18 version.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c
20 ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
21
22 set_module_type(mapi32 win32dll)
23 target_link_libraries(mapi32 uuid wine)
24 add_importlibs(mapi32 shlwapi user32 advapi32 msvcrt kernel32 ntdll)
25 add_pch(mapi32 precomp.h SOURCE)
26 add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)