[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 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 set_rc_compiler()
9
10 spec2def(shdocvw.dll shdocvw.spec)
11
12 list(APPEND SOURCE
13 classinfo.c
14 client.c
15 dochost.c
16 events.c
17 factory.c
18 frame.c
19 ie.c
20 iexplore.c
21 intshcut.c
22 navigate.c
23 oleobject.c
24 persist.c
25 shdocvw_main.c
26 shlinstobj.c
27 taskbarlist.c
28 urlhist.c
29 view.c
30 webbrowser.c
31 shdocvw.rc
32 ${CMAKE_CURRENT_BINARY_DIR}/shdocvw_stubs.c
33 ${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
34
35 add_library(shdocvw SHARED ${SOURCE})
36
37 set_module_type(shdocvw win32dll)
38
39 target_link_libraries(shdocvw uuid wine)
40
41 add_importlibs(shdocvw
42 comctl32
43 ole32
44 oleaut32
45 shlwapi
46 shell32
47 user32
48 advapi32
49 gdi32
50 version
51 urlmon
52 msvcrt
53 kernel32
54 ntdll)
55
56 add_dependencies(shdocvw shdocvw_v1)
57 add_cd_file(TARGET shdocvw DESTINATION reactos/system32 FOR all)
58 add_importlib_target(shdocvw.spec)