43a3113df64a276a496d20a79d11f56764606b38
[reactos.git] / 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/NtGdiExtSelectClipRgn.c
22 ntgdi/NtGdiExtTextOutW.c
23 #ntgdi/NtGdiFlushUserBatch.c
24 ntgdi/NtGdiGetBitmapBits.c
25 ntgdi/NtGdiGetDIBits.c
26 ntgdi/NtGdiGetFontResourceInfoInternalW.c
27 ntgdi/NtGdiGetRandomRgn.c
28 ntgdi/NtGdiGetStockObject.c
29 ntgdi/NtGdiPolyPolyDraw.c
30 ntgdi/NtGdiRestoreDC.c
31 ntgdi/NtGdiSaveDC.c
32 ntgdi/NtGdiSelectBitmap.c
33 ntgdi/NtGdiSelectBrush.c
34 ntgdi/NtGdiSelectFont.c
35 ntgdi/NtGdiSelectPen.c
36 ntgdi/NtGdiSetBitmapBits.c
37 ntgdi/NtGdiSetDIBitsToDeviceInternal.c
38
39 # ntuser/NtUserCallHwnd.c
40 # ntuser/NtUserCallHwndLock.c
41 # ntuser/NtUserCallHwndOpt.c
42 # ntuser/NtUserCallHwndParam.c
43 # ntuser/NtUserCallHwndParamLock.c
44 # ntuser/NtUserCallNoParam.c
45 # ntuser/NtUserCallOneParam.c
46 ntuser/NtUserCountClipboardFormats.c
47 # ntuser/NtUserEnumDisplayMonitors.c
48 ntuser/NtUserEnumDisplaySettings.c
49 ntuser/NtUserFindExistingCursorIcon.c
50 ntuser/NtUserGetClassInfo.c
51 # ntuser/NtUserGetIconInfo.c
52 ntuser/NtUserGetTitleBarInfo.c
53 ntuser/NtUserProcessConnect.c
54 ntuser/NtUserRedrawWindow.c
55 ntuser/NtUserScrollDC.c
56 ntuser/NtUserSelectPalette.c
57 ntuser/NtUserSetTimer.c
58 ntuser/NtUserSystemParametersInfo.c
59 ntuser/NtUserToUnicodeEx.c
60 ntuser/NtUserUpdatePerUserSystemParameters.c
61
62 #osver.c
63 testlist.c
64 w32knapi.rc)
65
66 add_executable(win32knt_apitest ${SOURCE})
67 target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
68 set_module_type(win32knt_apitest win32cui)
69 add_importlibs(win32knt_apitest
70 win32kdll # win32kdll_2ksp4 win32kdll_xpsp2 win32kdll_2k3sp2 win32kdll_vista
71 gdi32
72 user32
73 shell32
74 advapi32
75 msvcrt
76 kernel32
77 ntdll)
78
79 add_dependencies(win32knt_apitest xdk)
80 add_cd_file(TARGET win32knt_apitest DESTINATION reactos/bin FOR all)