reactos/rostests/apitests/gdi32/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
1.7 KiB
CMake

include_directories(${REACTOS_SOURCE_DIR}/win32ss)
list(APPEND SOURCE
AddFontResource.c
AddFontResourceEx.c
BeginPath.c
CombineRgn.c
CombineTransform.c
CreateBitmap.c
CreateBitmapIndirect.c
CreateCompatibleDC.c
CreateDIBitmap.c
CreateDIBPatternBrush
CreateFont.c
CreateFontIndirect.c
CreateIconIndirect.c
CreatePen.c
CreateRectRgn.c
DPtoLP.c
EngAcquireSemaphore.c
EngCreateSemaphore.c
EngDeleteSemaphore.c
EngReleaseSemaphore.c
EnumFontFamilies.c
ExcludeClipRect.c
ExtCreatePen.c
ExtCreateRegion.c
FrameRgn.c
GdiConvertBitmap.c
GdiConvertBrush.c
GdiConvertDC.c
GdiConvertFont.c
GdiConvertPalette.c
GdiConvertRegion.c
GdiDeleteLocalDC.c
GdiGetCharDimensions.c
GdiGetLocalBrush.c
GdiGetLocalDC.c
GdiReleaseLocalDC.c
GdiSetAttrs.c
GetClipBox.c
GetClipRgn.c
GetCurrentObject.c
GetDIBColorTable.c
GetDIBits.c
GetGlyphIndices.c
GetObject.c
GetRandomRgn.c
GetPixel.c
GetStockObject.c
GetTextExtentExPoint.c
GetTextFace.c
MaskBlt.c
NtGdiAddFontResource.c
OffsetClipRgn.c
OffsetRgn.c
PaintRgn.c
PatBlt.c
Rectangle.c
RealizePalette.c
SelectObject.c
SetBoundsRect.c
SetBrushOrgEx.c
SetDCPenColor.c
SetDIBits.c
SetDIBitsToDevice.c
SetMapMode.c
SetPixel.c
SetSysColors.c
SetWindowExtEx.c
SetWorldTransform.c
init.c
testlist.c)
add_executable(gdi32_apitest ${SOURCE} resource.rc)
target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
set_module_type(gdi32_apitest win32cui)
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
add_rostests_file(TARGET gdi32_apitest)