[CMAKE]
[reactos.git] / dll / win32 / riched32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(riched32.dll riched32.spec)
6
7 list(APPEND SOURCE
8 richedit.c
9 version.rc
10 ${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
11
12 add_library(riched32 SHARED ${SOURCE})
13
14 set_module_type(riched32 win32dll)
15 target_link_libraries(riched32 wine)
16 add_importlibs(riched32 riched20 user32 msvcrt kernel32 ntdll)
17 add_cd_file(TARGET riched32 DESTINATION reactos/system32)