1
2add_definitions(-DUSE_WINE_TODOS)
3add_idl_headers(vbscript_wine_test_idlheader vbsregexp55.idl)
4
5list(APPEND SOURCE
6    createobj.c
7    run.c
8    vbscript.c
9    testlist.c)
10
11list(APPEND vbscript_winetest_rc_deps
12    ${CMAKE_CURRENT_SOURCE_DIR}/api.vbs
13    ${CMAKE_CURRENT_SOURCE_DIR}/error.vbs
14    ${CMAKE_CURRENT_SOURCE_DIR}/lang.vbs
15    ${CMAKE_CURRENT_SOURCE_DIR}/regexp.vbs)
16
17set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${vbscript_winetest_rc_deps}")
18add_executable(vbscript_winetest ${SOURCE} rsrc.rc)
19set_module_type(vbscript_winetest win32cui)
20add_importlibs(vbscript_winetest ole32 oleaut32 advapi32 msvcrt kernel32)
21add_dependencies(vbscript_winetest vbscript_wine_test_idlheader)
22add_rostests_file(TARGET vbscript_winetest)
23