[CMAKE]
[reactos.git] / dll / win32 / riched20 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_DLL -D__USE_CRTIMP)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 add_library(riched20 SHARED
9 caret.c
10 clipboard.c
11 context.c
12 editor.c
13 list.c
14 paint.c
15 para.c
16 reader.c
17 richole.c
18 row.c
19 run.c
20 string.c
21 style.c
22 table.c
23 txthost.c
24 txtsrv.c
25 undo.c
26 wrap.c
27 writer.c
28 version.rc
29 riched20.def)
30
31 if(NOT MSVC)
32 set_source_files_properties(riched20.def PROPERTIES EXTERNAL_OBJECT TRUE)
33 endif()
34
35 set_module_type(riched20 win32dll)
36
37 target_link_libraries(riched20
38 wine
39 uuid)
40
41 if(MSVC)
42 set_target_properties(riched20 PROPERTIES COMPILE_FLAGS "/FIwine/typeof.h")
43 endif(MSVC)
44
45 add_importlibs(riched20
46 msvcrt
47 ole32
48 oleaut32
49 imm32
50 user32
51 gdi32
52 kernel32
53 ntdll)
54
55 add_cab_target(riched20 1)