09cca9909aab9ff7c0b2bb4a940e709c9cd0a7f7
[reactos.git] / modules / rostests / winetests / windowscodecs / CMakeLists.txt
1
2 add_definitions(
3 -DUSE_WINE_TODOS
4 -DWINETEST_USE_DBGSTR_LONGLONG)
5
6 # to be removed after synching with newer Wine
7 if(GCC AND GCC_VERSION VERSION_GREATER 7)
8 add_compile_flags("-Wno-stringop-overflow")
9 endif()
10
11 list(APPEND SOURCE
12 bitmap.c
13 bmpformat.c
14 converter.c
15 gifformat.c
16 icoformat.c
17 info.c
18 jpegformat.c
19 metadata.c
20 palette.c
21 pngformat.c
22 propertybag.c
23 stream.c
24 tiffformat.c
25 precomp.h)
26
27 add_executable(windowscodecs_winetest
28 ${SOURCE}
29 guid.c
30 testlist.c)
31
32 set_module_type(windowscodecs_winetest win32cui)
33 add_importlibs(windowscodecs_winetest windowscodecs oleaut32 ole32 propsys user32 gdi32 shlwapi msvcrt kernel32)
34
35 if(MSVC)
36 add_importlibs(windowscodecs_winetest ntdll)
37 endif()
38
39 add_pch(windowscodecs_winetest precomp.h SOURCE)
40 add_rostests_file(TARGET windowscodecs_winetest)