mirror of
https://github.com/reactos/reactos.git
synced 2024-09-16 07:39:32 +00:00
b2ec78673d
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.
31 lines
800 B
CMake
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)
|