[VBSCRIPT_WINETEST]
[reactos.git] / rostests / winetests / vbscript / CMakeLists.txt
1
2 add_definitions(-DUSE_WINE_TODOS)
3 add_idl_headers(vbscript_wine_test_idlheader vbsregexp55.idl)
4
5 list(APPEND SOURCE
6 createobj.c
7 run.c
8 vbscript.c
9 testlist.c)
10
11 list(APPEND vbscript_winetest_rc_deps
12 ${CMAKE_CURRENT_SOURCE_DIR}/api.vbs
13 ${CMAKE_CURRENT_SOURCE_DIR}/lang.vbs
14 ${CMAKE_CURRENT_SOURCE_DIR}/regexp.vbs)
15
16 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${vbscript_winetest_rc_deps}")
17 add_executable(vbscript_winetest ${SOURCE} rsrc.rc)
18 set_module_type(vbscript_winetest win32cui)
19 add_importlibs(vbscript_winetest ole32 oleaut32 advapi32 msvcrt kernel32)
20 add_dependencies(vbscript_winetest vbscript_wine_test_idlheader)
21 add_cd_file(TARGET vbscript_winetest DESTINATION reactos/bin FOR all)