2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5 spec2def(riched20.dll riched20.spec ADD_IMPORTLIB)
28 ${CMAKE_CURRENT_BINARY_DIR}/riched20.def)
31 if(ARCH STREQUAL "i386")
32 list(APPEND SOURCE msvc-thiscall.c)
34 set_source_files_properties(txthost.c txtsrv.c PROPERTIES COMPILE_FLAGS "/FImsvc.h")
37 add_library(riched20 SHARED ${SOURCE})
38 set_module_type(riched20 win32dll)
39 target_link_libraries(riched20 wine uuid)
41 add_importlibs(riched20
51 add_pch(riched20 editor.h)
52 add_cd_file(TARGET riched20 DESTINATION reactos/system32 FOR all)