xref: /reactos/dll/win32/imm32/CMakeLists.txt (revision 931224fb)
1
2include_directories(
3    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
4    ${REACTOS_SOURCE_DIR}/win32ss/include)
5
6add_definitions(-D__WINESRC__)
7
8spec2def(imm32.dll imm32.spec ADD_IMPORTLIB)
9
10list(APPEND SOURCE
11    candidate.c
12    compstr.c
13    ctf.c
14    guideline.c
15    ime.c
16    imm.c
17    keymsg.c
18    regword.c
19    softkbd.c
20    utils.c
21    win3.c
22    ${CMAKE_CURRENT_BINARY_DIR}/imm32_stubs.c
23    ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
24
25list(APPEND imm32_rc_deps
26    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_100.bmp
27    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_101.bmp
28    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_102.bmp
29    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_103.bmp
30    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_104.bmp
31    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_105.bmp
32    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_106.bmp
33    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_107.bmp
34    ${CMAKE_CURRENT_SOURCE_DIR}/res/1033_Bitmap_108.bmp
35    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_201.bmp
36    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_202.bmp
37    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_203.bmp
38    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_204.bmp
39    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_205.bmp
40    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_206.bmp
41    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_207.bmp
42    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_208.bmp
43    ${CMAKE_CURRENT_SOURCE_DIR}/res/2052_Bitmap_209.bmp)
44
45add_library(imm32 MODULE ${SOURCE} imm32.rc)
46set_module_type(imm32 win32dll UNICODE ENTRYPOINT ImmDllInitialize 12)
47set_source_files_properties(imm32.rc PROPERTIES OBJECT_DEPENDS "${imm32_rc_deps}")
48target_link_libraries(imm32 wine win32ksys uuid)
49add_importlibs(imm32 advapi32 user32 gdi32 kernel32 ntdll)
50add_cd_file(TARGET imm32 DESTINATION reactos/system32 FOR all)
51