1
2list(APPEND SOURCE
3    info.c
4    install.c
5    testlist.c)
6
7add_executable(version_winetest ${SOURCE} version.rc)
8set_module_type(version_winetest win32cui)
9add_importlibs(version_winetest shell32 version msvcrt kernel32)
10
11target_compile_definitions(version_winetest PRIVATE USE_WINE_TODOS)
12
13if (NOT MSVC)
14    target_compile_options(version_winetest PRIVATE -Wno-format-overflow)
15else()
16    add_importlibs(version_winetest ntdll)
17endif()
18
19add_rostests_file(TARGET version_winetest)
20