c9be5b858d77fa660497cacd2fcfe1d5b3e65824
[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(
6 -D__WINESRC__
7 -D_DLL
8 -D__USE_CRTIMP)
9
10 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11
12 add_idl_Headers(mshtml_nsiface_header nsiface.idl)
13
14 set_rc_compiler()
15
16 spec2def(mshtml.dll mshtml.spec)
17
18 list(APPEND SOURCE
19 conpoint.c
20 dispex.c
21 editor.c
22 hlink.c
23 htmlanchor.c
24 htmlbody.c
25 htmlcomment.c
26 htmlcurstyle.c
27 htmldoc.c
28 htmldoc3.c
29 htmldoc5.c
30 htmlelem.c
31 htmlelem2.c
32 htmlelem3.c
33 htmlelemcol.c
34 htmlevent.c
35 htmlform.c
36 htmlframe.c
37 htmlframebase.c
38 htmlgeneric.c
39 htmliframe.c
40 htmlimg.c
41 htmlinput.c
42 htmllocation.c
43 htmlnode.c
44 htmloption.c
45 htmlscreen.c
46 htmlscript.c
47 htmlselect.c
48 htmlstyle.c
49 htmlstyle2.c
50 htmlstyle3.c
51 htmlstylesheet.c
52 htmltable.c
53 htmltablerow.c
54 htmltextarea.c
55 htmltextcont.c
56 htmltextnode.c
57 htmlwindow.c
58 install.c
59 loadopts.c
60 main.c
61 mutation.c
62 navigate.c
63 nsembed.c
64 nsevents.c
65 nsio.c
66 nsservice.c
67 olecmd.c
68 oleobj.c
69 olewnd.c
70 omnavigator.c
71 persist.c
72 protocol.c
73 script.c
74 secmgr.c
75 selection.c
76 service.c
77 task.c
78 txtrange.c
79 view.c
80 rsrc.rc
81 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
82
83 add_library(mshtml SHARED ${SOURCE})
84
85 set_module_type(mshtml win32dll)
86
87 target_link_libraries(mshtml
88 uuid
89 wine
90 strmiids
91 oldnames)
92
93 add_importlibs(mshtml
94 urlmon
95 shlwapi
96 ole32
97 oleaut32
98 user32
99 gdi32
100 advapi32
101 wininet
102 msvcrt
103 kernel32
104 ntdll)
105
106 add_dependencies(mshtml mshtml_nsiface_header)
107 add_cab_target(mshtml 1)