[GDI32_WINETEST] Add a PCH.
[reactos.git] / modules / rostests / winetests / gdi32 / CMakeLists.txt
1
2 remove_definitions(-DWINVER=0x502 -D_WIN32_IE=0x600 -D_WIN32_WINNT=0x502)
3
4 list(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
21 add_executable(gdi32_winetest
22 ${SOURCE}
23 testlist.c
24 resource.rc)
25
26 set_module_type(gdi32_winetest win32cui)
27 add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32)
28
29 if(MSVC)
30 add_importlibs(gdi32_winetest ntdll)
31 endif()
32
33 add_pch(gdi32_winetest precomp.h SOURCE)
34 add_rostests_file(TARGET gdi32_winetest)