2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
2011-06-13 15:31:11 +00:00
|
|
|
-D_USE_MATH_DEFINES)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(gdiplus.dll gdiplus.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
brush.c
|
|
|
|
customlinecap.c
|
|
|
|
font.c
|
|
|
|
gdiplus.c
|
|
|
|
graphics.c
|
|
|
|
graphicspath.c
|
|
|
|
image.c
|
|
|
|
imageattributes.c
|
|
|
|
matrix.c
|
2012-05-19 10:03:40 +00:00
|
|
|
metafile.c
|
2011-05-16 13:12:07 +00:00
|
|
|
pathiterator.c
|
|
|
|
pen.c
|
|
|
|
region.c
|
|
|
|
stringformat.c
|
2014-02-10 12:19:56 +00:00
|
|
|
gdiplus_private.h)
|
|
|
|
|
|
|
|
add_library(gdiplus SHARED
|
|
|
|
${SOURCE}
|
2014-01-23 11:25:09 +00:00
|
|
|
guid.c
|
2014-02-10 12:19:56 +00:00
|
|
|
gdiplus.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
|
|
|
|
|
|
|
|
set_module_type(gdiplus win32dll)
|
2014-01-23 11:25:09 +00:00
|
|
|
target_link_libraries(gdiplus wine)
|
2011-09-04 00:52:28 +00:00
|
|
|
add_delay_importlibs(gdiplus windowscodecs)
|
2012-05-19 10:03:40 +00:00
|
|
|
add_importlibs(gdiplus msvcrt shlwapi oleaut32 ole32 user32 gdi32 kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(gdiplus gdiplus_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
|