[CMAKE]
[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 spec2def(imm32 ${CMAKE_CURRENT_SOURCE_DIR}/imm32.spec ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
10
11 add_library(imm32 SHARED imm.c version.rc)
12
13 set_module_type(imm32 win32dll)
14
15 target_link_libraries(imm32
16 ${CMAKE_CURRENT_BINARY_DIR}/imm32.def
17 wine)
18
19 add_importlibs(imm32 advapi32 user32 kernel32 ntdll)
20 add_dependencies(imm32 imm32_def)
21 add_livecd_target(imm32 reactos/system32)