mirror of
https://github.com/reactos/reactos.git
synced 2024-10-29 19:13:58 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
30 lines
698 B
CMake
30 lines
698 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
|
|
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)
|