Create this branch to work on loading of different Kernel-Debugger DLL providers...
[reactos.git] / dll / win32 / mshtml / CMakeLists.txt
1
2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
4
5 add_definitions(-D__WINESRC__)
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 add_idl_Headers(mshtml_nsiface_header nsiface.idl)
8 spec2def(mshtml.dll mshtml.spec)
9
10 list(APPEND SOURCE
11 conpoint.c
12 dispex.c
13 editor.c
14 hlink.c
15 htmlanchor.c
16 htmlbody.c
17 htmlcomment.c
18 htmlcurstyle.c
19 htmldoc.c
20 htmldoc3.c
21 htmldoc5.c
22 htmlelem.c
23 htmlelem2.c
24 htmlelem3.c
25 htmlelemcol.c
26 htmlevent.c
27 htmlform.c
28 htmlframe.c
29 htmlframebase.c
30 htmlgeneric.c
31 htmliframe.c
32 htmlimg.c
33 htmlinput.c
34 htmllocation.c
35 htmlnode.c
36 htmloption.c
37 htmlscreen.c
38 htmlscript.c
39 htmlselect.c
40 htmlstyle.c
41 htmlstyle2.c
42 htmlstyle3.c
43 htmlstylesheet.c
44 htmltable.c
45 htmltablerow.c
46 htmltextarea.c
47 htmltextcont.c
48 htmltextnode.c
49 htmlwindow.c
50 install.c
51 loadopts.c
52 main.c
53 mutation.c
54 navigate.c
55 nsembed.c
56 nsevents.c
57 nsio.c
58 nsservice.c
59 olecmd.c
60 oleobj.c
61 olewnd.c
62 omnavigator.c
63 persist.c
64 protocol.c
65 script.c
66 secmgr.c
67 selection.c
68 service.c
69 task.c
70 txtrange.c
71 view.c
72 rsrc.rc
73 ${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
74 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
75
76 add_library(mshtml SHARED ${SOURCE})
77 set_module_type(mshtml win32dll)
78 target_link_libraries(mshtml uuid wine strmiids oldnames)
79 add_delay_importlibs(mshtml wininet)
80
81 add_importlibs(mshtml
82 urlmon
83 shlwapi
84 ole32
85 oleaut32
86 user32
87 gdi32
88 advapi32
89 msvcrt
90 kernel32
91 ntdll)
92
93 add_dependencies(mshtml mshtml_nsiface_header)
94 add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)