2010-12-17 21:54:56 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
|
2010-10-09 19:15:45 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
2010-12-17 21:54:56 +00:00
|
|
|
|
2010-10-09 19:15:45 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
set_rc_compiler()
|
2010-12-17 21:54:56 +00:00
|
|
|
|
2010-10-30 16:08:19 +00:00
|
|
|
spec2def(msctf.dll msctf.spec)
|
2010-10-09 19:15:45 +00:00
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
list(APPEND SOURCE
|
2010-10-09 19:15:45 +00:00
|
|
|
categorymgr.c
|
|
|
|
compartmentmgr.c
|
|
|
|
context.c
|
|
|
|
displayattributemgr.c
|
|
|
|
documentmgr.c
|
|
|
|
inputprocessor.c
|
|
|
|
langbarmgr.c
|
|
|
|
msctf.c
|
|
|
|
range.c
|
|
|
|
regsvr.c
|
|
|
|
threadmgr.c
|
2010-10-30 16:08:19 +00:00
|
|
|
version.rc
|
2011-01-31 14:20:53 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msctf_stubs.c
|
2010-10-30 16:08:19 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
|
2010-10-09 19:15:45 +00:00
|
|
|
|
2010-11-29 23:08:38 +00:00
|
|
|
add_library(msctf SHARED ${SOURCE})
|
|
|
|
|
2010-10-09 19:15:45 +00:00
|
|
|
set_module_type(msctf win32dll)
|
|
|
|
|
2010-12-17 21:54:56 +00:00
|
|
|
target_link_libraries(msctf uuid wine)
|
2010-11-27 01:16:42 +00:00
|
|
|
add_importlibs(msctf ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
|
2010-10-30 09:53:53 +00:00
|
|
|
add_cab_target(msctf 1)
|