reactos/modules/rostests/winetests/gdiplus/CMakeLists.txt
2019-04-13 14:07:50 +02:00

33 lines
687 B
CMake

add_definitions(-DUSE_WINE_TODOS)
if(MSVC)
# error C4133: 'function': incompatible types - from 'ImageFlags *' to 'UINT *'
replace_compile_flags("/we4133" " ")
endif()
list(APPEND SOURCE
brush.c
customlinecap.c
font.c
graphics.c
graphicspath.c
image.c
matrix.c
metafile.c
pathiterator.c
pen.c
region.c
stringformat.c
precomp.h)
add_executable(gdiplus_winetest
${SOURCE}
guid.c
testlist.c
resource.rc)
set_module_type(gdiplus_winetest win32cui)
add_importlibs(gdiplus_winetest gdiplus user32 gdi32 ole32 msvcrt kernel32)
add_pch(gdiplus_winetest precomp.h SOURCE)
add_rostests_file(TARGET gdiplus_winetest)