[MSCTF] Sync with Wine Staging 3.3. CORE-14434
[reactos.git] / dll / win32 / msctf / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__)
6 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7 spec2def(msctf.dll msctf.spec)
8
9 list(APPEND SOURCE
10 categorymgr.c
11 compartmentmgr.c
12 context.c
13 displayattributemgr.c
14 documentmgr.c
15 inputprocessor.c
16 langbarmgr.c
17 msctf.c
18 range.c
19 threadmgr.c
20 precomp.h
21 ${CMAKE_CURRENT_BINARY_DIR}/msctf_stubs.c)
22
23 add_library(msctf SHARED
24 ${SOURCE}
25 version.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
27
28 set_module_type(msctf win32dll)
29 target_link_libraries(msctf uuid wine)
30 add_importlibs(msctf ole32 oleaut32 user32 advapi32 advapi32_vista msvcrt kernel32 ntdll)
31 add_pch(msctf precomp.h SOURCE)
32 add_cd_file(TARGET msctf DESTINATION reactos/system32 FOR all)