2011-05-16 13:12:07 +00:00
|
|
|
|
2021-09-10 14:39:15 +00:00
|
|
|
include_directories(
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/win32ss/include)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2021-09-10 14:39:15 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(imm32.dll imm32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2021-09-10 14:39:15 +00:00
|
|
|
candidate.c
|
2021-10-12 04:10:01 +00:00
|
|
|
compstr.c
|
2022-04-07 13:55:33 +00:00
|
|
|
ctf.c
|
2021-09-10 14:39:15 +00:00
|
|
|
guideline.c
|
|
|
|
ime.c
|
2011-05-16 13:12:07 +00:00
|
|
|
imm.c
|
2021-09-10 14:39:15 +00:00
|
|
|
keymsg.c
|
|
|
|
regword.c
|
2023-11-03 20:58:17 +00:00
|
|
|
softkbd.c
|
2021-09-10 14:39:15 +00:00
|
|
|
utils.c
|
2021-10-05 05:07:58 +00:00
|
|
|
win3.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/imm32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(imm32 MODULE ${SOURCE} version.rc)
|
2022-10-05 21:19:48 +00:00
|
|
|
set_module_type(imm32 win32dll UNICODE ENTRYPOINT ImmDllInitialize 12)
|
2020-08-09 13:41:11 +00:00
|
|
|
target_link_libraries(imm32 wine win32ksys)
|
2022-10-05 21:19:48 +00:00
|
|
|
add_importlibs(imm32 advapi32 user32 gdi32 kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET imm32 DESTINATION reactos/system32 FOR all)
|