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