reactos/modules/rostests/winetests/windowscodecs/CMakeLists.txt

41 lines
863 B
Text
Raw Normal View History

add_definitions(
-DUSE_WINE_TODOS
-DWINETEST_USE_DBGSTR_LONGLONG)
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()
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
2017-12-21 12:57:22 +00:00
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()
2017-12-21 12:57:22 +00:00
add_pch(windowscodecs_winetest precomp.h SOURCE)
add_rostests_file(TARGET windowscodecs_winetest)