reactos/dll/win32/rpcrt4/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00

48 lines
1.1 KiB
CMake

list(APPEND SOURCE
cproxy.c
cpsf.c
cstub.c
ndr_clientserver.c
ndr_contexthandle.c
ndr_es.c
ndr_fullpointer.c
ndr_marshall.c
ndr_ole.c
ndr_stubless.c
rpc_assoc.c
rpc_async.c
rpc_binding.c
rpc_epmap.c
rpc_message.c
rpcrt4.rc
rpcrt4_main.c
rpc_server.c
rpc_transport.c
unix_func.c)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D_RPCRT4_)
add_definitions(-DCOM_NO_WINDOWS_H)
add_definitions(-DMSWMSG)
spec2def(rpcrt4 ${CMAKE_CURRENT_SOURCE_DIR}/rpcrt4.spec ${CMAKE_CURRENT_BINARY_DIR}/rpcrt4.def)
add_library(rpcrt4 SHARED ${SOURCE})
set_module_type(rpcrt4 win32dll)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
include_directories(${REACTOS_BINARY_DIR}/include/reactos/wine)
target_link_libraries(rpcrt4
${CMAKE_CURRENT_BINARY_DIR}/rpcrt4.def
wine
uuid
epm_client
pseh)
add_importlibs(rpcrt4 msvcrt user32 advapi32 secur32 iphlpapi ws2_32 kernel32 ntdll)
add_dependencies(rpcrt4 rpcrt4_def winesdk)
add_cab_target(rpcrt4 1)