2023-12-11 13:37:25 +00:00
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${REACTOS_SOURCE_DIR}/win32ss/include)
|
|
|
|
|
|
|
|
spec2def(msctfime.ime msctfime.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2024-02-20 12:11:08 +00:00
|
|
|
bridge.cpp
|
|
|
|
compartment.cpp
|
|
|
|
functions.cpp
|
|
|
|
inputcontext.cpp
|
|
|
|
msctfime.cpp
|
|
|
|
profile.cpp
|
|
|
|
sinks.cpp
|
|
|
|
tls.cpp
|
|
|
|
ui.cpp)
|
2023-12-11 13:37:25 +00:00
|
|
|
|
|
|
|
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")
|
2024-02-17 00:53:50 +00:00
|
|
|
target_link_libraries(msctfime wine uuid cicero)
|
2023-12-22 11:21:25 +00:00
|
|
|
add_importlibs(msctfime user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
2024-01-09 07:57:30 +00:00
|
|
|
add_delay_importlibs(msctfime comctl32 msctf oleaut32 imm32)
|
2023-12-11 13:37:25 +00:00
|
|
|
add_cd_file(TARGET msctfime DESTINATION reactos/system32 FOR all)
|