2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(riched32.dll riched32.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
richedit.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
|
|
|
|
|
2013-09-26 16:33:17 +00:00
|
|
|
add_library(riched32 SHARED ${SOURCE} version.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(riched32 win32dll)
|
|
|
|
target_link_libraries(riched32 wine)
|
|
|
|
add_importlibs(riched32 riched20 user32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET riched32 DESTINATION reactos/system32 FOR all)
|