mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
65ce146169
svn path=/branches/ros-csrss/; revision=57561
34 lines
823 B
CMake
34 lines
823 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D_USE_MATH_DEFINES)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(gdiplus.dll gdiplus.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
brush.c
|
|
customlinecap.c
|
|
font.c
|
|
gdiplus.c
|
|
graphics.c
|
|
graphicspath.c
|
|
image.c
|
|
imageattributes.c
|
|
matrix.c
|
|
metafile.c
|
|
pathiterator.c
|
|
pen.c
|
|
region.c
|
|
stringformat.c
|
|
gdiplus.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
|
|
|
|
add_library(gdiplus SHARED ${SOURCE})
|
|
set_module_type(gdiplus win32dll)
|
|
target_link_libraries(gdiplus uuid wine)
|
|
add_delay_importlibs(gdiplus windowscodecs)
|
|
add_importlibs(gdiplus msvcrt shlwapi oleaut32 ole32 user32 gdi32 kernel32 ntdll)
|
|
add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
|