1 2add_definitions(-DUSE_WINE_TODOS) 3 4if(MSVC) 5 # error C4133: 'function': incompatible types - from 'ImageFlags *' to 'UINT *' 6 replace_compile_flags("/we4133" " ") 7endif() 8 9list(APPEND SOURCE 10 brush.c 11 customlinecap.c 12 font.c 13 graphics.c 14 graphicspath.c 15 image.c 16 matrix.c 17 metafile.c 18 pathiterator.c 19 pen.c 20 region.c 21 stringformat.c 22 precomp.h) 23 24add_executable(gdiplus_winetest 25 ${SOURCE} 26 guid.c 27 testlist.c 28 resource.rc) 29 30set_module_type(gdiplus_winetest win32cui) 31add_importlibs(gdiplus_winetest gdiplus user32 gdi32 ole32 msvcrt kernel32) 32add_pch(gdiplus_winetest precomp.h SOURCE) 33add_rostests_file(TARGET gdiplus_winetest) 34