2013-05-15 17:33:58 +00:00
|
|
|
|
2014-02-14 23:43:49 +00:00
|
|
|
add_definitions(-DUSE_WINE_TODOS)
|
2013-05-15 17:33:58 +00:00
|
|
|
add_idl_headers(vbscript_wine_test_idlheader vbsregexp55.idl)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
createobj.c
|
|
|
|
run.c
|
|
|
|
vbscript.c
|
2013-09-28 15:13:32 +00:00
|
|
|
testlist.c)
|
2013-05-15 17:33:58 +00:00
|
|
|
|
|
|
|
list(APPEND vbscript_winetest_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/api.vbs
|
2014-04-23 18:06:48 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/error.vbs
|
2013-05-15 17:33:58 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/lang.vbs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/regexp.vbs)
|
|
|
|
|
|
|
|
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${vbscript_winetest_rc_deps}")
|
2013-09-28 15:13:32 +00:00
|
|
|
add_executable(vbscript_winetest ${SOURCE} rsrc.rc)
|
2013-05-15 17:33:58 +00:00
|
|
|
set_module_type(vbscript_winetest win32cui)
|
2013-09-28 15:13:32 +00:00
|
|
|
add_importlibs(vbscript_winetest ole32 oleaut32 advapi32 msvcrt kernel32)
|
2013-05-15 17:33:58 +00:00
|
|
|
add_dependencies(vbscript_winetest vbscript_wine_test_idlheader)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET vbscript_winetest)
|