mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
30 lines
712 B
CMake
30 lines
712 B
CMake
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
add_definitions(-D__WINESRC__)
|
|
spec2def(usp10.dll usp10.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
bidi.c
|
|
bracket.c
|
|
breaking.c
|
|
indic.c
|
|
indicsyllable.c
|
|
linebreak.c
|
|
mirror.c
|
|
opentype.c
|
|
shape.c
|
|
shaping.c
|
|
usp10.c
|
|
usp10_internal.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c)
|
|
|
|
add_library(usp10 SHARED
|
|
${SOURCE}
|
|
${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
|
|
|
|
set_module_type(usp10 win32dll)
|
|
target_link_libraries(usp10 wine)
|
|
add_importlibs(usp10 advapi32 user32 gdi32 msvcrt kernel32 ntdll)
|
|
add_pch(usp10 usp10_internal.h SOURCE)
|
|
add_cd_file(TARGET usp10 DESTINATION reactos/system32 FOR all)
|