5b06e6b498cf040116f51b4d099b9399ae987e74
[reactos.git] / dll / win32 / imm32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 set_rc_compiler()
10
11 spec2def(imm32.dll imm32.spec)
12
13 list(APPEND SOURCE
14 imm.c
15 version.rc
16 ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
17
18 add_library(imm32 SHARED ${SOURCE})
19
20 set_module_type(imm32 win32dll)
21 target_link_libraries(imm32 wine)
22 add_importlibs(imm32 advapi32 user32 msvcrt kernel32 ntdll)
23 add_cab_target(imm32 1)
24 add_importlib_target(imm32.spec)