2012-12-13 11:15:23 +00:00
|
|
|
|
2019-02-04 12:12:58 +00:00
|
|
|
add_definitions(
|
|
|
|
-DUSE_WINE_TODOS
|
|
|
|
-DWINETEST_USE_DBGSTR_LONGLONG)
|
2012-12-13 11:15:23 +00:00
|
|
|
|
2019-08-17 19:56:40 +00:00
|
|
|
# to be removed after synching with newer Wine
|
|
|
|
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
|
|
|
add_compile_flags("-Wno-stringop-overflow")
|
|
|
|
endif()
|
|
|
|
|
2012-12-13 11:15:23 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
bitmap.c
|
|
|
|
bmpformat.c
|
|
|
|
converter.c
|
|
|
|
gifformat.c
|
|
|
|
icoformat.c
|
|
|
|
info.c
|
2018-03-04 23:20:56 +00:00
|
|
|
jpegformat.c
|
2012-12-13 11:15:23 +00:00
|
|
|
metadata.c
|
|
|
|
palette.c
|
|
|
|
pngformat.c
|
2013-05-23 16:40:21 +00:00
|
|
|
propertybag.c
|
2012-12-13 11:15:23 +00:00
|
|
|
stream.c
|
2017-12-21 12:57:22 +00:00
|
|
|
tiffformat.c
|
|
|
|
precomp.h)
|
|
|
|
|
|
|
|
add_executable(windowscodecs_winetest
|
|
|
|
${SOURCE}
|
|
|
|
guid.c
|
|
|
|
testlist.c)
|
2012-12-13 11:15:23 +00:00
|
|
|
|
|
|
|
set_module_type(windowscodecs_winetest win32cui)
|
2017-09-24 11:19:20 +00:00
|
|
|
add_importlibs(windowscodecs_winetest windowscodecs oleaut32 ole32 propsys user32 gdi32 shlwapi msvcrt kernel32)
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2014-04-24 12:13:18 +00:00
|
|
|
if(MSVC)
|
|
|
|
add_importlibs(windowscodecs_winetest ntdll)
|
|
|
|
endif()
|
2014-10-17 23:29:24 +00:00
|
|
|
|
2017-12-21 12:57:22 +00:00
|
|
|
add_pch(windowscodecs_winetest precomp.h SOURCE)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET windowscodecs_winetest)
|