[CMAKE]
[reactos.git] / dll / win32 / usp10 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(usp10.dll usp10.spec)
6
7 list(APPEND SOURCE
8 bidi.c
9 usp10.c
10 mirror.c
11 shape.c
12 shaping.c
13 ${CMAKE_CURRENT_BINARY_DIR}/usp10_stubs.c
14 ${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
15
16 add_library(usp10 SHARED ${SOURCE})
17
18 set_module_type(usp10 win32dll)
19
20 target_link_libraries(usp10 wine)
21
22 add_importlibs(usp10 gdi32 msvcrt kernel32 ntdll)
23 add_importlib_target(usp10.spec)
24
25 add_cab_target(usp10 1)