7 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
8 spec2def(gdiplus.dll gdiplus.spec ADD_IMPORTLIB)
26 list(APPEND PCH_SKIP_SOURCE
28 ${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c)
30 add_library(gdiplus MODULE
34 ${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
37 # Disable warning C4146: unary minus operator applied to unsigned type, result still unsigned
38 # Disable warning C4305: '=': truncation from 'double' to 'REAL'
39 target_compile_options(gdiplus PRIVATE /wd4146 /wd4305)
42 set_module_type(gdiplus win32dll)
43 target_link_libraries(gdiplus wine)
44 add_delay_importlibs(gdiplus windowscodecs)
45 add_importlibs(gdiplus msvcrt shlwapi oleaut32 ole32 user32 gdi32 kernel32 ntdll)
46 add_pch(gdiplus precomp.h "${PCH_SKIP_SOURCE}")
47 add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
49 add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/${WINARCH}_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef FOR all)
50 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/${WINARCH}_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
52 add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/${WINARCH}_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef FOR all)
53 add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/${WINARCH}_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)