2010-12-24 12:09:01 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__ROS_LONG64__
|
|
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2010-12-30 17:55:25 +00:00
|
|
|
add_typelib(oleaut32_typelibs test_reg.idl test_tlb.idl tmarshal.idl)
|
2010-12-24 12:09:01 +00:00
|
|
|
add_dependencies(oleaut32_typelibs stdole2)
|
|
|
|
|
2011-01-24 21:20:04 +00:00
|
|
|
add_idl_Headers(oleaut32_idlheaders test_reg.idl tmarshal.idl)
|
|
|
|
generate_idl_iids(tmarshal.idl)
|
2010-12-24 12:09:01 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dispatch.c
|
|
|
|
olefont.c
|
|
|
|
olepicture.c
|
|
|
|
safearray.c
|
|
|
|
testlist.c
|
|
|
|
tmarshal.c
|
|
|
|
tmarshal.rc
|
|
|
|
typelib.c
|
|
|
|
usrmarshal.c
|
|
|
|
varformat.c
|
|
|
|
vartest.c
|
|
|
|
vartype.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/tmarshal_i.c)
|
|
|
|
|
|
|
|
add_executable(oleaut32_winetest ${SOURCE})
|
|
|
|
target_link_libraries(oleaut32_winetest uuid wine)
|
|
|
|
set_module_type(oleaut32_winetest win32cui)
|
|
|
|
add_importlibs(oleaut32_winetest oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
|
|
|
add_dependencies(oleaut32_winetest oleaut32_typelibs oleaut32_idlheaders)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET oleaut32_winetest DESTINATION reactos/bin FOR all)
|