xref: /reactos/dll/win32/msimtf/CMakeLists.txt (revision c2c66aff)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(msimtf.dll msimtf.spec)
5
6list(APPEND SOURCE
7    activeimmapp.c
8    main.c
9    precomp.h
10    ${CMAKE_CURRENT_BINARY_DIR}/msimtf_stubs.c)
11
12add_library(msimtf SHARED
13    ${SOURCE}
14    rsrc.rc
15    ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def)
16
17set_module_type(msimtf win32dll)
18target_link_libraries(msimtf uuid wine)
19add_importlibs(msimtf imm32 msvcrt kernel32 ntdll)
20add_pch(msimtf precomp.h SOURCE)
21add_cd_file(TARGET msimtf DESTINATION reactos/system32 FOR all)
22