1 2add_definitions(-DUSE_WINE_TODOS) 3add_idl_Headers(test_tlb_header test_tlb.idl) 4add_typelib(test_tlb.idl) 5 6list(APPEND SOURCE 7 activex.c 8 dom.c 9 events.c 10 htmldoc.c 11 htmllocation.c 12 misc.c 13 protocol.c 14 script.c 15 style.c 16 xmlhttprequest.c 17 precomp.h) 18 19add_executable(mshtml_winetest 20 ${SOURCE} 21 guid.c 22 testlist.c 23 rsrc.rc) 24 25list(APPEND mshtml_winetest_rc_deps 26 ${CMAKE_CURRENT_BINARY_DIR}/test_tlb.tlb 27 ${CMAKE_CURRENT_SOURCE_DIR}/blank.html 28 ${CMAKE_CURRENT_SOURCE_DIR}/exectest.html 29 ${CMAKE_CURRENT_SOURCE_DIR}/jstest.html 30 ${CMAKE_CURRENT_SOURCE_DIR}/nav_test.html 31 ${CMAKE_CURRENT_SOURCE_DIR}/vbtest.html 32 ${CMAKE_CURRENT_SOURCE_DIR}/events.html 33 ${CMAKE_CURRENT_SOURCE_DIR}/externscr.js) 34 35set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_winetest_rc_deps}") 36target_link_libraries(mshtml_winetest uuid strmiids) 37set_module_type(mshtml_winetest win32cui) 38add_importlibs(mshtml_winetest wininet ole32 oleaut32 user32 gdi32 urlmon advapi32 msvcrt kernel32) 39add_dependencies(mshtml_winetest test_tlb_header stdole2) 40add_pch(mshtml_winetest precomp.h SOURCE) 41add_rostests_file(TARGET mshtml_winetest) 42