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