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
20list(APPEND PCH_SKIP_SOURCE
21    testlist.c)
22
23add_executable(gdi32_winetest
24    ${SOURCE}
25    ${PCH_SKIP_SOURCE}
26    resource.rc)
27
28set_module_type(gdi32_winetest win32cui)
29add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32)
30
31if(MSVC)
32    add_importlibs(gdi32_winetest ntdll)
33endif()
34
35add_pch(gdi32_winetest precomp.h "${PCH_SKIP_SOURCE}")
36add_rostests_file(TARGET gdi32_winetest)
37