1 2add_definitions(-DUSE_WINE_TODOS) 3 4list(APPEND SOURCE 5 activex.c 6 caller.c 7 jscript.c 8 run.c 9 testlist.c) 10 11list(APPEND jscript_winetest_rc_deps 12 ${CMAKE_CURRENT_SOURCE_DIR}/api.js 13 ${CMAKE_CURRENT_SOURCE_DIR}/cc.js 14 ${CMAKE_CURRENT_SOURCE_DIR}/lang.js 15 ${CMAKE_CURRENT_SOURCE_DIR}/regexp.js 16 ${CMAKE_CURRENT_SOURCE_DIR}/sunspider-regexp-dna.js 17 ${CMAKE_CURRENT_SOURCE_DIR}/sunspider-string-base64.js 18 ${CMAKE_CURRENT_SOURCE_DIR}/sunspider-string-validate-input.js) 19 20set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${jscript_winetest_rc_deps}") 21add_executable(jscript_winetest ${SOURCE} rsrc.rc) 22set_module_type(jscript_winetest win32cui) 23add_importlibs(jscript_winetest ole32 oleaut32 advapi32 msvcrt kernel32) 24add_rostests_file(TARGET jscript_winetest) 25