xref: /reactos/dll/win32/usp10/CMakeLists.txt (revision 8a978a17)
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    direction.c
11    indic.c
12    indicsyllable.c
13    linebreak.c
14    mirror.c
15    opentype.c
16    shape.c
17    shaping.c
18    usp10.c
19    precomp.h
20    ${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c)
21
22add_library(usp10 MODULE
23    ${SOURCE}
24    ${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
25
26set_module_type(usp10 win32dll)
27target_link_libraries(usp10 wine)
28add_importlibs(usp10 advapi32 user32 gdi32 msvcrt kernel32 ntdll)
29add_pch(usp10 precomp.h SOURCE)
30add_cd_file(TARGET usp10 DESTINATION reactos/system32 FOR all)
31