2010-12-24 12:09:01 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x500)
|
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__ROS_LONG64__
|
|
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
|
2011-01-24 21:20:04 +00:00
|
|
|
add_rpc_library(serverrpc server.idl)
|
2010-12-24 12:09:01 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cstub.c
|
|
|
|
generated.c
|
|
|
|
ndr_marshall.c
|
|
|
|
rpc.c
|
|
|
|
rpc_async.c
|
|
|
|
rpc_protseq.c
|
|
|
|
server.c
|
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
add_executable(rpcrt4_winetest ${SOURCE})
|
|
|
|
target_link_libraries(rpcrt4_winetest
|
|
|
|
uuid
|
|
|
|
wine
|
2011-01-24 21:20:04 +00:00
|
|
|
serverrpc
|
2010-12-24 12:09:01 +00:00
|
|
|
${PSEH_LIB})
|
|
|
|
|
|
|
|
set_module_type(rpcrt4_winetest win32cui)
|
|
|
|
add_importlibs(rpcrt4_winetest ole32 rpcrt4 msvcrt kernel32 ntdll)
|
2011-05-14 14:03:44 +00:00
|
|
|
add_cd_file(TARGET rpcrt4_winetest DESTINATION reactos/bin)
|