1
2include_directories(${REACTOS_SOURCE_DIR}/win32ss)
3
4list(APPEND SOURCE
5    AddFontMemResourceEx.c
6    AddFontResource.c
7    AddFontResourceEx.c
8    BeginPath.c
9    CombineRgn.c
10    CombineTransform.c
11    CreateBitmap.c
12    CreateBitmapIndirect.c
13    CreateCompatibleDC.c
14    CreateDIBitmap.c
15    CreateDIBPatternBrush.c
16    CreateFont.c
17    CreateFontIndirect.c
18    CreateIconIndirect.c
19    CreatePen.c
20    CreateRectRgn.c
21    DPtoLP.c
22    EngAcquireSemaphore.c
23    EngCreateSemaphore.c
24    EngDeleteSemaphore.c
25    EngReleaseSemaphore.c
26    EnumFontFamilies.c
27    ExcludeClipRect.c
28    ExtCreatePen.c
29    ExtCreateRegion.c
30    FrameRgn.c
31    GdiConvertBitmap.c
32    GdiConvertBrush.c
33    GdiConvertDC.c
34    GdiConvertFont.c
35    GdiConvertPalette.c
36    GdiConvertRegion.c
37    GdiDeleteLocalDC.c
38    GdiGetCharDimensions.c
39    GdiGetLocalBrush.c
40    GdiGetLocalDC.c
41    GdiReleaseLocalDC.c
42    GdiSetAttrs.c
43    GetClipBox.c
44    GetClipRgn.c
45    GetCurrentObject.c
46    GetDIBColorTable.c
47    GetDIBits.c
48    GetFontResourceInfoW.c
49    GetGlyphIndices.c
50    GetObject.c
51    GetRandomRgn.c
52    GetPixel.c
53    GetStockObject.c
54    GetTextExtentExPoint.c
55    GetTextFace.c
56    GetTextMetrics.c
57    MaskBlt.c
58    NtGdiAddFontResource.c
59    OffsetClipRgn.c
60    OffsetRgn.c
61    PaintRgn.c
62    PatBlt.c
63    Rectangle.c
64    RealizePalette.c
65    SelectObject.c
66    SetBoundsRect.c
67    SetBrushOrgEx.c
68    SetDCPenColor.c
69    SetDIBits.c
70    SetDIBitsToDevice.c
71    SetMapMode.c
72    SetPixel.c
73    SetSysColors.c
74    SetWindowExtEx.c
75    SetWorldTransform.c
76    init.c
77    precomp.h)
78
79add_executable(gdi32_apitest ${SOURCE} testlist.c resource.rc)
80target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
81set_module_type(gdi32_apitest win32cui)
82add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
83add_pch(gdi32_apitest precomp.h SOURCE)
84add_rostests_file(TARGET gdi32_apitest)
85