* Sync up to trunk head (r64894).
[reactos.git] / dll / win32 / msctf / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(msctf.dll msctf.spec)
5
6 list(APPEND SOURCE
7 categorymgr.c
8 compartmentmgr.c
9 context.c
10 displayattributemgr.c
11 documentmgr.c
12 inputprocessor.c
13 langbarmgr.c
14 msctf.c
15 range.c
16 threadmgr.c
17 msctf_internal.h
18 ${CMAKE_CURRENT_BINARY_DIR}/msctf_stubs.c)
19
20 add_library(msctf SHARED
21 ${SOURCE}
22 version.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
24
25 set_module_type(msctf win32dll)
26 target_link_libraries(msctf uuid wine)
27 add_importlibs(msctf ole32 oleaut32 user32 advapi32 shlwapi msvcrt kernel32 ntdll)
28 add_pch(msctf msctf_internal.h SOURCE)
29 add_cd_file(TARGET msctf DESTINATION reactos/system32 FOR all)