[NTOSKRNL] Drop the useless Timestamp field
[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 -DCOM_NO_WINDOWS_H)
8
9 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
10 add_idl_headers(mshtml_nsiface_header nsiface.idl)
11 spec2def(mshtml.dll mshtml.spec ADD_IMPORTLIB)
12
13 if(MSVC)
14 # error C4028: formal parameter 3 different from declaration
15 replace_compile_flags("/we4028" " ")
16 endif()
17
18 list(APPEND SOURCE
19 conpoint.c
20 dispex.c
21 editor.c
22 hlink.c
23 htmlanchor.c
24 htmlarea.c
25 htmlattr.c
26 htmlbody.c
27 htmlcomment.c
28 htmlcurstyle.c
29 htmldoc.c
30 htmlelem.c
31 htmlelemcol.c
32 htmlembed.c
33 htmlevent.c
34 htmlform.c
35 htmlframe.c
36 htmlframebase.c
37 htmlgeneric.c
38 htmlhead.c
39 htmliframe.c
40 htmlimg.c
41 htmlinput.c
42 htmllink.c
43 htmllocation.c
44 htmlmeta.c
45 htmlnode.c
46 htmlobject.c
47 htmloption.c
48 htmlscreen.c
49 htmlscript.c
50 htmlselect.c
51 htmlstorage.c
52 htmlstyle.c
53 htmlstyle2.c
54 htmlstyle3.c
55 htmlstyleelem.c
56 htmlstylesheet.c
57 htmltable.c
58 htmltablecell.c
59 htmltablerow.c
60 htmltextarea.c
61 htmltextcont.c
62 htmltextnode.c
63 htmlwindow.c
64 ifacewrap.c
65 ipwindow.c
66 loadopts.c
67 main.c
68 mutation.c
69 navigate.c
70 npplugin.c
71 nsembed.c
72 nsevents.c
73 nsio.c
74 nsservice.c
75 olecmd.c
76 oleobj.c
77 olewnd.c
78 omnavigator.c
79 persist.c
80 pluginhost.c
81 propbag.c
82 protocol.c
83 script.c
84 secmgr.c
85 selection.c
86 service.c
87 task.c
88 txtrange.c
89 view.c
90 xmlhttprequest.c
91 mshtml_private.h)
92
93 if(MSVC)
94 add_asm_files(mshtml_asm msvc.S)
95 endif()
96
97 add_library(mshtml MODULE
98 ${SOURCE}
99 ${mshtml_asm}
100 guid.c
101 rsrc.rc
102 ${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
103 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
104
105 list(APPEND mshtml_rc_deps
106 ${CMAKE_CURRENT_SOURCE_DIR}/blank.htm
107 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml.inf
108 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml_classes.rgs)
109
110 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_rc_deps}")
111 set_module_type(mshtml win32dll)
112 target_link_libraries(mshtml uuid wine strmiids oldnames)
113 add_delay_importlibs(mshtml wininet)
114 add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
115 add_dependencies(mshtml mshtml_nsiface_header)
116 add_pch(mshtml mshtml_private.h SOURCE)
117 add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)