bda828f015aaeed3912c716ca09ac8e074724dc6
[reactos.git] / dll / win32 / usp10 / CMakeLists.txt
1
2 set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES> -L${REACTOS_BINARY_DIR}/lib/3rdparty/mingw")
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 add_definitions(-D__WINESRC__)
7
8 spec2def(usp10 ${CMAKE_CURRENT_SOURCE_DIR}/usp10.spec ${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
9
10 add_library(usp10 SHARED
11 bidi.c
12 usp10.c
13 mirror.c
14 shape.c
15 shaping.c)
16
17 set_target_properties(usp10 PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
18
19 target_link_libraries(usp10
20 ${CMAKE_CURRENT_BINARY_DIR}/usp10.def
21 wine
22 ${REACTOS_SOURCE_DIR}/dll/win32/gdi32/libgdi32.a
23 mingw_common)
24
25 add_dependencies(usp10 usp10_def psdk)