reactos/rostests/winetests/rpcrt4/CMakeLists.txt
Timo Kreuzer 54759c40ba [CMAKE]
Fix rostests after changing macros

svn path=/trunk/; revision=50481
2011-01-24 21:20:04 +00:00

31 lines
599 B
CMake

remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x500)
add_definitions(
-D__ROS_LONG64__
-D_DLL -D__USE_CRTIMP)
add_rpc_library(serverrpc server.idl)
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
serverrpc
${PSEH_LIB})
set_module_type(rpcrt4_winetest win32cui)
add_importlibs(rpcrt4_winetest ole32 rpcrt4 msvcrt kernel32 ntdll)
add_cab_target(rpcrt4_winetest 7)