[ROSTESTS]

Fix oleaut32_winetest dependencies.

svn path=/trunk/; revision=56712
This commit is contained in:
Sylvain Petreolle 2012-06-08 18:08:11 +00:00
parent 659e65b64f
commit e9149a8586

View file

@ -29,13 +29,13 @@ 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)
SET(tmarshal.rc_DEPS
${REACTOS_BINARY_DIR}/include/psdk/stdole2.tlb
${CMAKE_CURRENT_BINARY_DIR}/test_reg.tlb
${CMAKE_CURRENT_BINARY_DIR}/test_tlb.tlb
${CMAKE_CURRENT_BINARY_DIR}/tmarshal.tlb)
#doesn't work, only includes test_reg.tlb
#set_source_files_properties(tmarshal.rc PROPERTIES OBJECT_DEPENDS ${tmarshal.rc_DEPS})
add_custom_target(oleaut32_typelibs ALL DEPENDS ${tmarshal.rc_DEPS})
set_source_files_properties(tmarshal.rc PROPERTIES OBJECT_DEPENDS "${tmarshal.rc_DEPS}")
add_dependencies(oleaut32_winetest oleaut32_typelibs oleaut32_idlheaders stdole2)
add_dependencies(oleaut32_winetest stdole2 oleaut32_typelibs oleaut32_idlheaders )
add_cd_file(TARGET oleaut32_winetest DESTINATION reactos/bin FOR all)