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