2011-05-16 13:12:07 +00:00
|
|
|
|
2020-03-26 13:40:39 +00:00
|
|
|
add_definitions(-D__WINESRC__ -D__ROS_LONG64__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)
|
2011-06-13 15:31:11 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
caret.c
|
|
|
|
clipboard.c
|
|
|
|
context.c
|
|
|
|
editor.c
|
|
|
|
list.c
|
|
|
|
paint.c
|
|
|
|
para.c
|
|
|
|
reader.c
|
|
|
|
richole.c
|
|
|
|
row.c
|
|
|
|
run.c
|
|
|
|
string.c
|
|
|
|
style.c
|
|
|
|
table.c
|
2019-02-02 13:10:37 +00:00
|
|
|
txthost.c
|
|
|
|
txtsrv.c
|
2011-05-16 13:12:07 +00:00
|
|
|
undo.c
|
|
|
|
wrap.c
|
|
|
|
writer.c
|
2018-03-21 12:17:10 +00:00
|
|
|
precomp.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-07-20 22:53:23 +00:00
|
|
|
list(APPEND riched20_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/riched_tom.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/riched_tom.tlb)
|
|
|
|
set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${riched20_rc_deps}")
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(riched20 MODULE
|
2019-02-02 13:10:37 +00:00
|
|
|
${SOURCE}
|
|
|
|
version.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/riched20.def)
|
|
|
|
|
2015-07-20 22:53:23 +00:00
|
|
|
add_typelib(riched_tom.idl)
|
|
|
|
add_dependencies(riched20 stdole2)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(riched20 win32dll)
|
|
|
|
target_link_libraries(riched20 wine uuid)
|
2014-04-26 16:54:06 +00:00
|
|
|
add_importlibs(riched20 ole32 oleaut32 usp10 imm32 user32 gdi32 msvcrt kernel32 ntdll)
|
2018-03-21 12:17:10 +00:00
|
|
|
add_pch(riched20 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET riched20 DESTINATION reactos/system32 FOR all)
|