xref: /reactos/dll/win32/riched32/CMakeLists.txt (revision 7115d7ba)
1
2add_definitions(-D__WINESRC__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4spec2def(riched32.dll riched32.spec)
5
6list(APPEND SOURCE
7    richedit.c
8    ${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
9
10add_library(riched32 MODULE ${SOURCE} version.rc)
11set_module_type(riched32 win32dll)
12target_link_libraries(riched32 wine)
13add_importlibs(riched32 riched20 user32 msvcrt kernel32 ntdll)
14add_cd_file(TARGET riched32 DESTINATION reactos/system32 FOR all)
15