- Fix more dlls.
[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.dll msctf.spec)
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 ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
24
25 set_module_type(msctf win32dll)
26
27 target_link_libraries(msctf
28 uuid
29 wine)
30
31 add_importlibs(msctf ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
32
33 add_cab_target(msctf 1)