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