* Sync up to trunk head (r60691).
[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(${REACTOS_SOURCE_DIR}/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 ${CMAKE_CURRENT_BINARY_DIR}/msctf_stubs.c
21 ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
22
23 add_library(msctf SHARED ${SOURCE} version.rc)
24 set_module_type(msctf win32dll)
25 target_link_libraries(msctf uuid wine)
26 add_importlibs(msctf ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
27 add_cd_file(TARGET msctf DESTINATION reactos/system32 FOR all)