3597068bdbcb5995a0d22fdba2b912f03549a13b
[reactos.git] / dll / win32 / imm32 / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
4 ${REACTOS_SOURCE_DIR}/win32ss/include)
5
6 add_definitions(-D__WINESRC__)
7
8 spec2def(imm32.dll imm32.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 candidate.c
12 guideline.c
13 ime.c
14 imm.c
15 keymsg.c
16 regword.c
17 utils.c
18 win3.c
19 ${CMAKE_CURRENT_BINARY_DIR}/imm32_stubs.c
20 ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
21
22 add_library(imm32 MODULE ${SOURCE} version.rc)
23 set_module_type(imm32 win32dll)
24 target_link_libraries(imm32 wine win32ksys)
25 add_importlibs(imm32 advapi32 user32 gdi32 msvcrt kernel32 ntdll)
26 add_cd_file(TARGET imm32 DESTINATION reactos/system32 FOR all)