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)
|
|
|
|
|
2023-11-24 14:02:19 +00:00
|
|
|
list(APPEND imm32_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_100.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_101.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_102.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_103.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_104.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_105.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_106.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_107.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_108.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_201.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_202.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_203.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_204.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_205.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_206.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_207.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_208.bmp
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_209.bmp)
|
|
|
|
|
|
|
|
add_library(imm32 MODULE ${SOURCE} imm32.rc)
|
2022-10-05 21:19:48 +00:00
|
|
|
set_module_type(imm32 win32dll UNICODE ENTRYPOINT ImmDllInitialize 12)
|
2023-11-24 14:02:19 +00:00
|
|
|
set_source_files_properties(imm32.rc PROPERTIES OBJECT_DEPENDS "${imm32_rc_deps}")
|
2023-11-30 08:22:50 +00:00
|
|
|
target_link_libraries(imm32 wine win32ksys uuid)
|
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)
|