xref: /reactos/dll/win32/usp10/CMakeLists.txt (revision 0623a6f8)
1
2include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3add_definitions(-D__WINESRC__)
4spec2def(usp10.dll usp10.spec ADD_IMPORTLIB)
5
6list(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    precomp.h
19    ${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c)
20
21add_library(usp10 SHARED
22    ${SOURCE}
23    ${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
24
25set_module_type(usp10 win32dll)
26target_link_libraries(usp10 wine)
27add_importlibs(usp10 advapi32 user32 gdi32 msvcrt kernel32 ntdll)
28add_pch(usp10 precomp.h SOURCE)
29add_cd_file(TARGET usp10 DESTINATION reactos/system32 FOR all)
30