2023-12-11 13:37:25 +00:00
|
|
|
|
|
|
|
spec2def(msctfime.ime msctfime.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2024-02-20 12:11:08 +00:00
|
|
|
bridge.cpp
|
|
|
|
inputcontext.cpp
|
2024-02-22 09:43:08 +00:00
|
|
|
misc.cpp
|
2024-02-20 12:11:08 +00:00
|
|
|
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-10-19 11:30:55 +00:00
|
|
|
target_link_libraries(msctfime cpprt wine uuid cicero)
|
2023-12-22 11:21:25 +00:00
|
|
|
add_importlibs(msctfime user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
2024-03-17 03:44:03 +00:00
|
|
|
add_delay_importlibs(msctfime uxtheme shlwapi comctl32 msctf oleaut32 imm32)
|
2023-12-11 13:37:25 +00:00
|
|
|
add_cd_file(TARGET msctfime DESTINATION reactos/system32 FOR all)
|