reactos/dll/ime/msctfime/CMakeLists.txt
Katayama Hirofumi MZ b2ec78673d
[MSCTFIME] Restructuring (#6505)
Improve code flexibility. 3700+
lines of msctfime.cpp was too long.
JIRA issue: CORE-19360
- Split msctfime.cpp code to some
  source files and header files.
2024-02-20 21:11:08 +09:00

31 lines
800 B
CMake

include_directories(
${REACTOS_SOURCE_DIR}/win32ss/include)
spec2def(msctfime.ime msctfime.spec)
list(APPEND SOURCE
bridge.cpp
compartment.cpp
functions.cpp
inputcontext.cpp
msctfime.cpp
profile.cpp
sinks.cpp
tls.cpp
ui.cpp)
file(GLOB msctfime_rc_deps res/*.*)
add_rc_deps(msctfime.rc ${msctfime_rc_deps})
add_library(msctfime MODULE
${SOURCE}
msctfime.rc
${CMAKE_CURRENT_BINARY_DIR}/msctfime.def)
set_module_type(msctfime win32dll UNICODE)
set_target_properties(msctfime PROPERTIES SUFFIX ".ime")
target_link_libraries(msctfime wine uuid cicero)
add_importlibs(msctfime user32 gdi32 advapi32 msvcrt kernel32 ntdll)
add_delay_importlibs(msctfime comctl32 msctf oleaut32 imm32)
add_cd_file(TARGET msctfime DESTINATION reactos/system32 FOR all)