2010-12-22 16:33:37 +00:00
|
|
|
|
|
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
2012-04-02 10:52:54 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/win32ss)
|
2010-12-22 16:33:37 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
AddFontResource.c
|
|
|
|
AddFontResourceEx.c
|
|
|
|
BeginPath.c
|
2012-04-24 17:11:08 +00:00
|
|
|
CombineRgn.c
|
2011-01-12 23:20:02 +00:00
|
|
|
CombineTransform.c
|
2012-04-23 10:42:22 +00:00
|
|
|
CreateBitmap.c
|
2010-12-22 16:33:37 +00:00
|
|
|
CreateBitmapIndirect.c
|
|
|
|
CreateCompatibleDC.c
|
2011-10-13 12:52:25 +00:00
|
|
|
CreateDIBitmap.c
|
2012-05-04 18:56:43 +00:00
|
|
|
CreateDIBPatternBrush
|
2010-12-22 16:33:37 +00:00
|
|
|
CreateFont.c
|
|
|
|
CreateFontIndirect.c
|
2012-04-23 10:42:22 +00:00
|
|
|
CreateIconIndirect.c
|
2010-12-22 16:33:37 +00:00
|
|
|
CreatePen.c
|
|
|
|
CreateRectRgn.c
|
2011-01-16 22:11:35 +00:00
|
|
|
DPtoLP.c
|
2010-12-22 16:33:37 +00:00
|
|
|
EngAcquireSemaphore.c
|
|
|
|
EngCreateSemaphore.c
|
|
|
|
EngDeleteSemaphore.c
|
|
|
|
EngReleaseSemaphore.c
|
|
|
|
ExtCreatePen.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
|
|
|
|
GetClipRgn.c
|
|
|
|
GetCurrentObject.c
|
2012-05-04 11:40:36 +00:00
|
|
|
GetDIBColorTable.c
|
2010-12-22 16:33:37 +00:00
|
|
|
GetDIBits.c
|
|
|
|
GetObject.c
|
2012-04-23 10:42:22 +00:00
|
|
|
GetRandomRgn.c
|
2011-03-02 01:15:10 +00:00
|
|
|
GetPixel.c
|
2010-12-22 16:33:37 +00:00
|
|
|
GetStockObject.c
|
|
|
|
GetTextExtentExPoint.c
|
|
|
|
GetTextFace.c
|
2011-01-12 23:20:02 +00:00
|
|
|
MaskBlt.c
|
2012-04-23 10:42:22 +00:00
|
|
|
PatBlt.c
|
2011-03-11 15:32:54 +00:00
|
|
|
Rectangle.c
|
2010-12-22 16:33:37 +00:00
|
|
|
SelectObject.c
|
2012-05-04 11:40:36 +00:00
|
|
|
SetBrushOrgEx.c
|
2010-12-22 16:33:37 +00:00
|
|
|
SetDCPenColor.c
|
2011-03-01 20:50:47 +00:00
|
|
|
SetDIBits.c
|
2012-12-30 12:56:55 +00:00
|
|
|
SetDIBitsToDevice.c
|
2010-12-22 16:33:37 +00:00
|
|
|
SetMapMode.c
|
2012-05-04 11:40:36 +00:00
|
|
|
SetPixel.c
|
2010-12-22 16:33:37 +00:00
|
|
|
SetSysColors.c
|
|
|
|
SetWindowExtEx.c
|
|
|
|
SetWorldTransform.c
|
2012-05-04 18:56:43 +00:00
|
|
|
init.c
|
2010-12-22 16:33:37 +00:00
|
|
|
testlist.c)
|
|
|
|
|
2012-07-29 02:44:53 +00:00
|
|
|
if(NOT MSVC)
|
|
|
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
|
|
|
#allow_warnings(gdi32_apitest)
|
|
|
|
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
|
|
|
|
endif()
|
|
|
|
|
2010-12-22 16:33:37 +00:00
|
|
|
add_executable(gdi32_apitest ${SOURCE})
|
|
|
|
target_link_libraries(gdi32_apitest wine ${PSEH_LIB})
|
|
|
|
set_module_type(gdi32_apitest win32cui)
|
|
|
|
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET gdi32_apitest DESTINATION reactos/bin FOR all)
|