1 2remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502) 3 4list(APPEND SOURCE 5 bitmap.c 6 brush.c 7 clipping.c 8 dc.c 9 dib.c 10 font.c 11 gdiobj.c 12 generated.c 13 icm.c 14 mapping.c 15 metafile.c 16 palette.c 17 path.c 18 pen.c 19 precomp.h) 20 21add_executable(gdi32_winetest 22 ${SOURCE} 23 testlist.c 24 resource.rc) 25 26set_module_type(gdi32_winetest win32cui) 27add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32) 28 29if(MSVC) 30 add_importlibs(gdi32_winetest ntdll) 31endif() 32 33add_pch(gdi32_winetest precomp.h SOURCE) 34add_rostests_file(TARGET gdi32_winetest) 35