2 spec2def(rpcrt4.dll rpcrt4.spec ADD_IMPORTLIB)
4 add_rpc_files(client epm.idl)
27 ${CMAKE_CURRENT_BINARY_DIR}/epm_c.c
28 ${CMAKE_CURRENT_BINARY_DIR}/rpcrt4_stubs.c
29 ${CMAKE_CURRENT_BINARY_DIR}/rpcrt4.def)
32 list(APPEND SOURCE msvc.S)
35 remove_definitions(-D_WIN32_WINNT=0x502)
36 add_definitions(-D_WIN32_WINNT=0x600)
43 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
45 add_library(rpcrt4 SHARED ${SOURCE})
46 set_module_type(rpcrt4 win32dll)
47 target_link_libraries(rpcrt4 wine uuid ${PSEH_LIB})
49 add_delay_importlibs(rpcrt4 iphlpapi wininet secur32 user32)
50 add_importlibs(rpcrt4 msvcrt advapi32 ws2_32 kernel32 ntdll)
51 add_cd_file(TARGET rpcrt4 DESTINATION reactos/system32 FOR all)
55 allow_warnings(rpcrt4)