1c9f18768a9f39eed6dc4a6c2fa87d9bcb222813
[reactos.git] / dll / win32 / msctf / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 remove_definitions(-D_WIN32_WINNT=0x502)
4 add_definitions(-D_WIN32_WINNT=0x600)
5 add_definitions(-D_DLL -D__USE_CRTIMP)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(msctf ${CMAKE_CURRENT_SOURCE_DIR}/msctf.spec ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
9
10 add_library(msctf SHARED
11 categorymgr.c
12 compartmentmgr.c
13 context.c
14 displayattributemgr.c
15 documentmgr.c
16 inputprocessor.c
17 langbarmgr.c
18 msctf.c
19 range.c
20 regsvr.c
21 threadmgr.c
22 version.rc)
23
24 set_module_type(msctf win32dll)
25
26 target_link_libraries(msctf
27 ${CMAKE_CURRENT_BINARY_DIR}/msctf.def
28 uuid
29 wine)
30
31 add_importlibs(msctf ole32 oleaut32 user32 advapi32 kernel32 ntdll)
32 add_dependencies(msctf msctf_def)
33 add_cab_target(msctf 1)