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    EngReleaseSemaphore.c
25    EnumFontFamilies.c
26    ExcludeClipRect.c
27    ExtCreatePen.c
28    ExtCreateRegion.c
29    FrameRgn.c
30    GdiConvertBitmap.c
31    GdiConvertBrush.c
32    GdiConvertDC.c
33    GdiConvertFont.c
34    GdiConvertPalette.c
35    GdiConvertRegion.c
36    GdiDeleteLocalDC.c
37    GdiGetCharDimensions.c
38    GdiGetLocalBrush.c
39    GdiGetLocalDC.c
40    GdiReleaseLocalDC.c
41    GdiSetAttrs.c
42    GetClipBox.c
43    GetClipRgn.c
44    GetCurrentObject.c
45    GetDIBColorTable.c
46    GetDIBits.c
47    GetFontResourceInfoW.c
48    GetGlyphIndices.c
49    GetGlyphOutline.c
50    GetObject.c
51    GetRandomRgn.c
52    GetPixel.c
53    GetStockObject.c
54    GetTextExtentExPoint.c
55    GetTextFace.c
56    GetTextMetrics.c
57    LPtoDP.c
58    MaskBlt.c
59    NtGdiAddFontResource.c
60    OffsetClipRgn.c
61    OffsetRgn.c
62    PaintRgn.c
63    PatBlt.c
64    Rectangle.c
65    RealizePalette.c
66    SelectObject.c
67    SetBoundsRect.c
68    SetBrushOrgEx.c
69    SetDCPenColor.c
70    SetDIBits.c
71    SetDIBitsToDevice.c
72    SetMapMode.c
73    SetPixel.c
74    SetSysColors.c
75    SetWindowExtEx.c
76    SetWorldTransform.c
77    StretchBlt.c
78    TextTransform.c
79    init.c)
80
81list(APPEND PCH_SKIP_SOURCE
82    testlist.c)
83
84add_executable(gdi32_apitest
85    ${SOURCE}
86    ${PCH_SKIP_SOURCE}
87    resource.rc)
88
89target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
90set_module_type(gdi32_apitest win32cui)
91add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
92add_pch(gdi32_apitest precomp.h "${PCH_SKIP_SOURCE}")
93add_rostests_file(TARGET gdi32_apitest)
94