xref: /reactos/dll/win32/imm32/CMakeLists.txt (revision 5efb6e3d)
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    utils.c
20    win3.c
21    ${CMAKE_CURRENT_BINARY_DIR}/imm32_stubs.c
22    ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
23
24add_library(imm32 MODULE ${SOURCE} version.rc)
25set_module_type(imm32 win32dll UNICODE ENTRYPOINT ImmDllInitialize 12)
26target_link_libraries(imm32 wine win32ksys)
27add_importlibs(imm32 advapi32 user32 gdi32 kernel32 ntdll)
28add_cd_file(TARGET imm32 DESTINATION reactos/system32 FOR all)
29