[CMAKE]
[reactos.git] / dll / win32 / shdocvw / CMakeLists.txt
1
2 ADD_TYPELIB(shdocvw_v1 shdocvw_v1.idl)
3 add_dependencies(shdocvw_v1 stdole2)
4
5 add_definitions(-D_SHDOCVW_)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(shdocvw ${CMAKE_CURRENT_SOURCE_DIR}/shdocvw.spec ${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
10
11 add_library(shdocvw SHARED
12 classinfo.c
13 client.c
14 dochost.c
15 events.c
16 factory.c
17 frame.c
18 ie.c
19 iexplore.c
20 intshcut.c
21 navigate.c
22 oleobject.c
23 persist.c
24 shdocvw_main.c
25 shlinstobj.c
26 taskbarlist.c
27 urlhist.c
28 view.c
29 webbrowser.c
30 shdocvw.rc)
31
32 set_module_type(shdocvw win32dll)
33
34 target_link_libraries(shdocvw
35 ${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def
36 uuid
37 wine)
38
39 add_importlibs(shdocvw
40 ole32
41 oleaut32
42 shlwapi
43 shell32
44 user32
45 advapi32
46 gdi32
47 version
48 urlmon
49 kernel32
50 ntdll)
51
52 add_dependencies(shdocvw shdocvw_v1 shdocvw_def)
53 add_cab_target(shdocvw 1)