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