[CMAKE]
[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_stubs.c
82 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
83
84 add_library(mshtml SHARED ${SOURCE})
85
86 set_module_type(mshtml win32dll)
87
88 target_link_libraries(mshtml
89 uuid
90 wine
91 strmiids
92 oldnames)
93
94 add_importlibs(mshtml
95 urlmon
96 shlwapi
97 ole32
98 oleaut32
99 user32
100 gdi32
101 advapi32
102 wininet
103 msvcrt
104 kernel32
105 ntdll)
106
107 add_dependencies(mshtml mshtml_nsiface_header)
108 add_cd_file(TARGET mshtml DESTINATION reactos/system32)