reactos/rostests/apitests/win32nt/CMakeLists.txt
Colin Finck da200b3a2c [ROSTESTS]
- Add a function "add_rostests_file" that calls both add_cd_file() and install() accordingly for regression tests.
  Use this function everywhere in rostests where add_cd_file() was used previously. This puts tests always in the right place on CD and also generates proper installation rules for them.
- Add a custom target "rostests_install" that performs an "install" on all rostests components.

This finally gives us a convenient and reliable way to copy all regression tests and their dependencies into a single directory (specified by the ROSTESTS_INSTALL environment variable).
Will be used on the WHS-Testbot to let it finally run each and every test.

CORE-12401
ONLINE-441

svn path=/trunk/; revision=73533
2017-01-13 09:24:15 +00:00

81 lines
2.3 KiB
CMake

add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/win32ss/include ../gditools)
list(APPEND SOURCE
ntdd/NtGdiDdCreateDirectDrawObject.c
ntdd/NtGdiDdDeleteDirectDrawObject.c
ntdd/NtGdiDdQueryDirectDrawObject.c
ntgdi/NtGdiArcInternal.c
ntgdi/NtGdiBitBlt.c
ntgdi/NtGdiCombineRgn.c
ntgdi/NtGdiCreateBitmap.c
ntgdi/NtGdiCreateCompatibleBitmap.c
ntgdi/NtGdiCreateCompatibleDC.c
ntgdi/NtGdiCreateDIBSection.c
ntgdi/NtGdiDeleteObjectApp.c
ntgdi/NtGdiDoPalette.c
ntgdi/NtGdiEngCreatePalette.c
ntgdi/NtGdiEnumFontOpen.c
#ntgdi/NtGdiExtSelectClipRgn.c
ntgdi/NtGdiExtTextOutW.c
#ntgdi/NtGdiFlushUserBatch.c
ntgdi/NtGdiGetBitmapBits.c
ntgdi/NtGdiGetDIBits.c
ntgdi/NtGdiGetFontResourceInfoInternalW.c
ntgdi/NtGdiGetRandomRgn.c
ntgdi/NtGdiGetStockObject.c
ntgdi/NtGdiPolyPolyDraw.c
ntgdi/NtGdiRestoreDC.c
ntgdi/NtGdiSaveDC.c
ntgdi/NtGdiSelectBitmap.c
ntgdi/NtGdiSelectBrush.c
ntgdi/NtGdiSelectFont.c
ntgdi/NtGdiSelectPen.c
ntgdi/NtGdiSetBitmapBits.c
ntgdi/NtGdiSetDIBitsToDeviceInternal.c
# ntuser/NtUserCallHwnd.c
# ntuser/NtUserCallHwndLock.c
# ntuser/NtUserCallHwndOpt.c
# ntuser/NtUserCallHwndParam.c
# ntuser/NtUserCallHwndParamLock.c
# ntuser/NtUserCallNoParam.c
# ntuser/NtUserCallOneParam.c
ntuser/NtUserCountClipboardFormats.c
ntuser/NtUserCreateWindowEx.c
# ntuser/NtUserEnumDisplayMonitors.c
ntuser/NtUserEnumDisplaySettings.c
ntuser/NtUserFindExistingCursorIcon.c
ntuser/NtUserGetClassInfo.c
# ntuser/NtUserGetIconInfo.c
ntuser/NtUserGetTitleBarInfo.c
ntuser/NtUserProcessConnect.c
ntuser/NtUserRedrawWindow.c
ntuser/NtUserScrollDC.c
ntuser/NtUserSelectPalette.c
ntuser/NtUserSetTimer.c
ntuser/NtUserSystemParametersInfo.c
ntuser/NtUserToUnicodeEx.c
ntuser/NtUserUpdatePerUserSystemParameters.c
#osver.c
testlist.c
w32knapi.rc)
add_executable(win32knt_apitest ${SOURCE})
target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
set_module_type(win32knt_apitest win32cui)
add_importlibs(win32knt_apitest
win32kdll # win32kdll_2ksp4 win32kdll_xpsp2 win32kdll_2k3sp2 win32kdll_vista
gdi32
user32
shell32
advapi32
msvcrt
kernel32
ntdll)
add_dependencies(win32knt_apitest xdk)
add_rostests_file(TARGET win32knt_apitest)