mirror of
https://github.com/reactos/reactos.git
synced 2024-08-18 09:28:36 +00:00
41 lines
863 B
CMake
41 lines
863 B
CMake
|
|
add_definitions(
|
|
-DUSE_WINE_TODOS
|
|
-DWINETEST_USE_DBGSTR_LONGLONG)
|
|
|
|
# to be removed after synching with newer Wine
|
|
if(GCC AND GCC_VERSION VERSION_GREATER 7)
|
|
add_compile_flags("-Wno-stringop-overflow")
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
bitmap.c
|
|
bmpformat.c
|
|
converter.c
|
|
gifformat.c
|
|
icoformat.c
|
|
info.c
|
|
jpegformat.c
|
|
metadata.c
|
|
palette.c
|
|
pngformat.c
|
|
propertybag.c
|
|
stream.c
|
|
tiffformat.c
|
|
precomp.h)
|
|
|
|
add_executable(windowscodecs_winetest
|
|
${SOURCE}
|
|
guid.c
|
|
testlist.c)
|
|
|
|
set_module_type(windowscodecs_winetest win32cui)
|
|
add_importlibs(windowscodecs_winetest windowscodecs oleaut32 ole32 propsys user32 gdi32 shlwapi msvcrt kernel32)
|
|
|
|
if(MSVC)
|
|
add_importlibs(windowscodecs_winetest ntdll)
|
|
endif()
|
|
|
|
add_pch(windowscodecs_winetest precomp.h SOURCE)
|
|
add_rostests_file(TARGET windowscodecs_winetest)
|