1
2add_definitions(
3    -DUSE_WINE_TODOS
4    -DWINETEST_USE_DBGSTR_LONGLONG)
5
6list(APPEND SOURCE
7    bitmap.c
8    bmpformat.c
9    converter.c
10    gifformat.c
11    icoformat.c
12    info.c
13    jpegformat.c
14    metadata.c
15    palette.c
16    pngformat.c
17    propertybag.c
18    stream.c
19    tiffformat.c)
20
21list(APPEND PCH_SKIP_SOURCE
22    guid.c
23    testlist.c)
24
25add_executable(windowscodecs_winetest
26    ${SOURCE}
27    ${PCH_SKIP_SOURCE})
28
29set_module_type(windowscodecs_winetest win32cui)
30add_importlibs(windowscodecs_winetest windowscodecs oleaut32 ole32 propsys user32 gdi32 shlwapi msvcrt kernel32)
31
32if(MSVC)
33    add_importlibs(windowscodecs_winetest ntdll)
34endif()
35
36add_pch(windowscodecs_winetest precomp.h "${PCH_SKIP_SOURCE}")
37add_rostests_file(TARGET windowscodecs_winetest)
38