Author: spetreolle
Date: Fri Jun 8 18:08:11 2012
New Revision: 56712
URL:
http://svn.reactos.org/svn/reactos?rev=56712&view=rev
Log:
[ROSTESTS]
Fix oleaut32_winetest dependencies.
Modified:
trunk/rostests/winetests/oleaut32/CMakeLists.txt
Modified: trunk/rostests/winetests/oleaut32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/oleaut32/CMakeL…
==============================================================================
--- trunk/rostests/winetests/oleaut32/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/rostests/winetests/oleaut32/CMakeLists.txt [iso-8859-1] Fri Jun 8 18:08:11
2012
@@ -29,13 +29,13 @@
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)