b889c9d778538fab9411b0994ff76841a5c56da5
[reactos.git] / dll / win32 / riched32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 add_library(riched32 SHARED richedit.c version.rc riched32.def)
6
7 if(NOT MSVC)
8 set_source_files_properties(riched32.def PROPERTIES EXTERNAL_OBJECT TRUE)
9 endif()
10
11 set_module_type(riched32 win32dll)
12
13 target_link_libraries(riched32 wine)
14
15 add_importlibs(riched32 riched20 user32 kernel32 ntdll)
16
17 add_cab_target(riched32 1)