xref: /reactos/dll/ime/msctfime/CMakeLists.txt (revision 678aa63b)
1
2spec2def(msctfime.ime msctfime.spec)
3
4list(APPEND SOURCE
5    bridge.cpp
6    inputcontext.cpp
7    misc.cpp
8    msctfime.cpp
9    profile.cpp
10    sinks.cpp
11    tls.cpp
12    ui.cpp)
13
14file(GLOB msctfime_rc_deps res/*.*)
15add_rc_deps(msctfime.rc ${msctfime_rc_deps})
16
17add_library(msctfime MODULE
18    ${SOURCE}
19    msctfime.rc
20    ${CMAKE_CURRENT_BINARY_DIR}/msctfime.def)
21set_module_type(msctfime win32dll UNICODE)
22set_target_properties(msctfime PROPERTIES SUFFIX ".ime")
23target_link_libraries(msctfime cpprt wine uuid cicero)
24add_importlibs(msctfime user32 gdi32 advapi32 msvcrt kernel32 ntdll)
25add_delay_importlibs(msctfime uxtheme shlwapi comctl32 msctf oleaut32 imm32)
26add_cd_file(TARGET msctfime DESTINATION reactos/system32 FOR all)
27