[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 ${CMAKE_CURRENT_SOURCE_DIR}/riched32.spec ${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
6
7 add_library(riched32 SHARED richedit.c version.rc)
8
9 set_module_type(riched32 win32dll)
10
11 target_link_libraries(riched32
12 ${CMAKE_CURRENT_BINARY_DIR}/riched32.def
13 wine)
14
15 add_importlibs(riched32 riched20 user32 kernel32 ntdll)
16 add_dependencies(riched32 riched32_def)
17 add_livecd_target(riched32 reactos/system32)