2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
2020-03-26 13:40:39 +00:00
|
|
|
-D__ROS_LONG64__
|
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
|
2020-05-09 21:37:40 +00:00
|
|
|
stringformat.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(gdiplus MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2014-02-10 12:19:56 +00:00
|
|
|
gdiplus.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${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)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(gdiplus precomp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
|
2018-08-18 08:29:01 +00:00
|
|
|
|
2018-01-18 17:01:35 +00:00
|
|
|
add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef FOR all)
|
|
|
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
2018-08-18 08:29:01 +00:00
|
|
|
|
|
|
|
add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef FOR all)
|
|
|
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|