reactos/dll/win32/usp10/CMakeLists.txt
2019-12-01 19:41:14 +01:00

31 lines
714 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
direction.c
indic.c
indicsyllable.c
linebreak.c
mirror.c
opentype.c
shape.c
shaping.c
usp10.c
precomp.h
${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c)
add_library(usp10 MODULE
${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 precomp.h SOURCE)
add_cd_file(TARGET usp10 DESTINATION reactos/system32 FOR all)