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