2010-12-07 09:27:10 +00:00
|
|
|
|
2014-02-14 17:16:54 +00:00
|
|
|
add_definitions(-DUSE_WINE_TODOS)
|
2010-12-07 09:27:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
brush.c
|
|
|
|
customlinecap.c
|
|
|
|
font.c
|
|
|
|
graphics.c
|
|
|
|
graphicspath.c
|
|
|
|
image.c
|
|
|
|
matrix.c
|
2012-05-19 10:03:49 +00:00
|
|
|
metafile.c
|
2010-12-07 09:27:10 +00:00
|
|
|
pathiterator.c
|
|
|
|
pen.c
|
|
|
|
region.c
|
2020-05-09 21:37:40 +00:00
|
|
|
stringformat.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c
|
|
|
|
testlist.c)
|
2017-12-17 12:14:57 +00:00
|
|
|
|
|
|
|
add_executable(gdiplus_winetest
|
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2018-01-18 23:20:03 +00:00
|
|
|
resource.rc)
|
2010-12-07 09:27:10 +00:00
|
|
|
|
|
|
|
set_module_type(gdiplus_winetest win32cui)
|
2013-09-19 15:10:36 +00:00
|
|
|
add_importlibs(gdiplus_winetest gdiplus user32 gdi32 ole32 msvcrt kernel32)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(gdiplus_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET gdiplus_winetest)
|
2020-09-18 09:49:18 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
# error C4133: 'function': incompatible types - from 'ImageFlags *' to 'UINT *'
|
|
|
|
remove_target_compile_option(gdiplus_winetest "/we4133")
|
2020-11-12 00:22:46 +00:00
|
|
|
target_compile_options(gdiplus_winetest PRIVATE /wd4133)
|
2020-09-18 09:49:18 +00:00
|
|
|
endif()
|