ff58b7ef42b84ca6a713eff93a08e000dc47369f
[reactos.git] / dll / win32 / usp10 / CMakeLists.txt
1
2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(usp10.dll usp10.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 bidi.c
8 bracket.c
9 breaking.c
10 indic.c
11 indicsyllable.c
12 linebreak.c
13 mirror.c
14 opentype.c
15 shape.c
16 shaping.c
17 usp10.c
18 usp10_internal.h
19 ${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c)
20
21 add_library(usp10 SHARED
22 ${SOURCE}
23 ${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
24
25 set_module_type(usp10 win32dll)
26 target_link_libraries(usp10 wine)
27 add_importlibs(usp10 advapi32 user32 gdi32 msvcrt kernel32 ntdll)
28 add_pch(usp10 usp10_internal.h SOURCE)
29 add_cd_file(TARGET usp10 DESTINATION reactos/system32 FOR all)