2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2013-05-19 21:21:20 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DCOM_NO_WINDOWS_H)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2014-05-11 14:12:21 +00:00
|
|
|
add_idl_headers(mshtml_nsiface_header nsiface.idl)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(mshtml.dll mshtml.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
conpoint.c
|
|
|
|
dispex.c
|
|
|
|
editor.c
|
|
|
|
hlink.c
|
|
|
|
htmlanchor.c
|
2015-11-28 21:10:43 +00:00
|
|
|
htmlarea.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlattr.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmlbody.c
|
|
|
|
htmlcomment.c
|
|
|
|
htmlcurstyle.c
|
|
|
|
htmldoc.c
|
|
|
|
htmlelem.c
|
|
|
|
htmlelemcol.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlembed.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmlevent.c
|
|
|
|
htmlform.c
|
|
|
|
htmlframe.c
|
|
|
|
htmlframebase.c
|
|
|
|
htmlgeneric.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlhead.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmliframe.c
|
|
|
|
htmlimg.c
|
|
|
|
htmlinput.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmllink.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmllocation.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlmeta.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmlnode.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlobject.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmloption.c
|
|
|
|
htmlscreen.c
|
|
|
|
htmlscript.c
|
|
|
|
htmlselect.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlstorage.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmlstyle.c
|
|
|
|
htmlstyle2.c
|
|
|
|
htmlstyle3.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmlstyleelem.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmlstylesheet.c
|
|
|
|
htmltable.c
|
2013-05-19 21:21:20 +00:00
|
|
|
htmltablecell.c
|
2011-05-16 13:12:07 +00:00
|
|
|
htmltablerow.c
|
|
|
|
htmltextarea.c
|
|
|
|
htmltextcont.c
|
|
|
|
htmltextnode.c
|
|
|
|
htmlwindow.c
|
2013-05-19 21:21:20 +00:00
|
|
|
ifacewrap.c
|
|
|
|
ipwindow.c
|
2011-05-16 13:12:07 +00:00
|
|
|
loadopts.c
|
|
|
|
main.c
|
|
|
|
mutation.c
|
|
|
|
navigate.c
|
2013-05-19 21:21:20 +00:00
|
|
|
npplugin.c
|
2011-05-16 13:12:07 +00:00
|
|
|
nsembed.c
|
|
|
|
nsevents.c
|
|
|
|
nsio.c
|
|
|
|
nsservice.c
|
|
|
|
olecmd.c
|
|
|
|
oleobj.c
|
|
|
|
olewnd.c
|
|
|
|
omnavigator.c
|
|
|
|
persist.c
|
2013-05-19 21:21:20 +00:00
|
|
|
pluginhost.c
|
|
|
|
propbag.c
|
2011-05-16 13:12:07 +00:00
|
|
|
protocol.c
|
|
|
|
script.c
|
|
|
|
secmgr.c
|
|
|
|
selection.c
|
|
|
|
service.c
|
|
|
|
task.c
|
|
|
|
txtrange.c
|
|
|
|
view.c
|
2015-11-28 21:10:43 +00:00
|
|
|
xmlhttprequest.c
|
2014-02-10 12:19:56 +00:00
|
|
|
mshtml_private.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-06-23 12:49:24 +00:00
|
|
|
if(MSVC)
|
|
|
|
add_asm_files(mshtml_asm msvc.S)
|
|
|
|
endif()
|
|
|
|
|
2014-02-10 12:19:56 +00:00
|
|
|
add_library(mshtml SHARED
|
|
|
|
${SOURCE}
|
|
|
|
${mshtml_asm}
|
|
|
|
guid.c
|
|
|
|
rsrc.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
|
2013-05-19 21:21:20 +00:00
|
|
|
|
|
|
|
list(APPEND mshtml_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/blank.htm
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mshtml.inf
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/mshtml_classes.rgs)
|
|
|
|
|
|
|
|
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_rc_deps}")
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(mshtml win32dll)
|
2011-09-04 00:52:28 +00:00
|
|
|
target_link_libraries(mshtml uuid wine strmiids oldnames)
|
|
|
|
add_delay_importlibs(mshtml wininet)
|
2013-05-19 21:21:20 +00:00
|
|
|
add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(mshtml mshtml_nsiface_header)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(mshtml mshtml_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)
|