11fe7ee2eedfa58a6f4ea7a3e46a753b26779ee7
[reactos.git] / dll / win32 / gdiplus / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D__ROS_LONG64__
5 -D_USE_MATH_DEFINES)
6
7 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
8 spec2def(gdiplus.dll gdiplus.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 brush.c
12 customlinecap.c
13 font.c
14 gdiplus.c
15 graphics.c
16 graphicspath.c
17 image.c
18 imageattributes.c
19 matrix.c
20 metafile.c
21 pathiterator.c
22 pen.c
23 region.c
24 stringformat.c
25 precomp.h)
26
27 add_library(gdiplus MODULE
28 ${SOURCE}
29 guid.c
30 gdiplus.rc
31 ${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
32 ${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
33
34 set_module_type(gdiplus win32dll)
35 target_link_libraries(gdiplus wine)
36 add_delay_importlibs(gdiplus windowscodecs)
37 add_importlibs(gdiplus msvcrt shlwapi oleaut32 ole32 user32 gdi32 kernel32 ntdll)
38 add_pch(gdiplus precomp.h SOURCE)
39 add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
40
41 add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef FOR all)
42 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)
43
44 add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef FOR all)
45 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)
46