2ff69348a0457d6ce6e99808c4ebc3448070d411
[reactos.git] / modules / rostests / apitests / win32nt / CMakeLists.txt
1
2 add_definitions(-D_DLL -D__USE_CRTIMP)
3 include_directories(${REACTOS_SOURCE_DIR}/win32ss/include ../gditools)
4
5 list(APPEND SOURCE
6 ntdd/NtGdiDdCreateDirectDrawObject.c
7 ntdd/NtGdiDdDeleteDirectDrawObject.c
8 ntdd/NtGdiDdQueryDirectDrawObject.c
9
10 ntgdi/NtGdiArcInternal.c
11 ntgdi/NtGdiBitBlt.c
12 ntgdi/NtGdiCombineRgn.c
13 ntgdi/NtGdiCreateBitmap.c
14 ntgdi/NtGdiCreateCompatibleBitmap.c
15 ntgdi/NtGdiCreateCompatibleDC.c
16 ntgdi/NtGdiCreateDIBSection.c
17 ntgdi/NtGdiDeleteObjectApp.c
18 ntgdi/NtGdiDoPalette.c
19 ntgdi/NtGdiEngCreatePalette.c
20 ntgdi/NtGdiEnumFontOpen.c
21 ntgdi/NtGdiExcludeClipRect.c
22 ntgdi/NtGdiExtSelectClipRgn.c
23 ntgdi/NtGdiExtTextOutW.c
24 #ntgdi/NtGdiFlushUserBatch.c
25 ntgdi/NtGdiGetBitmapBits.c
26 ntgdi/NtGdiGetDIBits.c
27 ntgdi/NtGdiGetFontResourceInfoInternalW.c
28 ntgdi/NtGdiGetRandomRgn.c
29 ntgdi/NtGdiGetStockObject.c
30 ntgdi/NtGdiIntersectClipRect.c
31 ntgdi/NtGdiOffsetClipRgn.c
32 ntgdi/NtGdiPolyPolyDraw.c
33 ntgdi/NtGdiRestoreDC.c
34 ntgdi/NtGdiSaveDC.c
35 ntgdi/NtGdiSelectBitmap.c
36 ntgdi/NtGdiSelectBrush.c
37 ntgdi/NtGdiSelectFont.c
38 ntgdi/NtGdiSelectPen.c
39 ntgdi/NtGdiSetBitmapBits.c
40 ntgdi/NtGdiSetDIBitsToDeviceInternal.c
41 ntgdi/NtGdiTransformPoints.c
42
43 # ntuser/NtUserCallHwnd.c
44 # ntuser/NtUserCallHwndLock.c
45 # ntuser/NtUserCallHwndOpt.c
46 # ntuser/NtUserCallHwndParam.c
47 # ntuser/NtUserCallHwndParamLock.c
48 # ntuser/NtUserCallNoParam.c
49 # ntuser/NtUserCallOneParam.c
50 ntuser/NtUserCountClipboardFormats.c
51 ntuser/NtUserCreateWindowEx.c
52 # ntuser/NtUserEnumDisplayMonitors.c
53 ntuser/NtUserEnumDisplaySettings.c
54 ntuser/NtUserFindExistingCursorIcon.c
55 ntuser/NtUserGetClassInfo.c
56 # ntuser/NtUserGetIconInfo.c
57 ntuser/NtUserGetThreadState.c
58 ntuser/NtUserGetTitleBarInfo.c
59 ntuser/NtUserProcessConnect.c
60 ntuser/NtUserRedrawWindow.c
61 ntuser/NtUserScrollDC.c
62 ntuser/NtUserSelectPalette.c
63 ntuser/NtUserSetTimer.c
64 ntuser/NtUserSystemParametersInfo.c
65 ntuser/NtUserToUnicodeEx.c
66 ntuser/NtUserUpdatePerUserSystemParameters.c
67
68 #osver.c
69 )
70
71 list(APPEND PCH_SKIP_SOURCE
72 testlist.c)
73
74 add_executable(win32knt_apitest
75 ${SOURCE}
76 ${PCH_SKIP_SOURCE}
77 w32knapi.rc)
78
79 target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
80 set_module_type(win32knt_apitest win32cui)
81 add_importlibs(win32knt_apitest
82 gdi32
83 user32
84 shell32
85 advapi32
86 msvcrt
87 kernel32
88 ntdll)
89 add_delay_importlibs(win32knt_apitest win32u imm32)
90 add_dependencies(win32knt_apitest xdk)
91 add_pch(win32knt_apitest win32nt.h "${PCH_SKIP_SOURCE}")
92 add_rostests_file(TARGET win32knt_apitest)