2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_WINE
|
2012-09-09 19:47:25 +00:00
|
|
|
-DLIBXML_STATIC
|
|
|
|
-DCOM_NO_WINDOWS_H)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
2011-09-03 18:59:14 +00:00
|
|
|
add_compile_flags("/FIwine/typeof.h /FImsvc.h")
|
2012-08-01 23:25:06 +00:00
|
|
|
endif()
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-04-18 19:33:35 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libwin-iconv)
|
2014-04-18 19:33:35 +00:00
|
|
|
|
2015-02-07 23:54:15 +00:00
|
|
|
spec2def(msxml3.dll msxml3.spec ADD_IMPORTLIB NO_PRIVATE_WARNINGS)
|
2012-01-03 00:17:18 +00:00
|
|
|
add_typelib(msxml3_v1.idl)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
attribute.c
|
2012-09-09 19:47:25 +00:00
|
|
|
bsc.c
|
|
|
|
cdata.c
|
2011-05-16 13:12:07 +00:00
|
|
|
comment.c
|
2012-09-09 19:47:25 +00:00
|
|
|
dispex.c
|
|
|
|
docfrag.c
|
|
|
|
doctype.c
|
2011-05-16 13:12:07 +00:00
|
|
|
domdoc.c
|
2012-09-09 19:47:25 +00:00
|
|
|
domimpl.c
|
2011-05-16 13:12:07 +00:00
|
|
|
element.c
|
2012-09-09 19:47:25 +00:00
|
|
|
entityref.c
|
2011-05-16 13:12:07 +00:00
|
|
|
httprequest.c
|
2012-09-09 19:47:25 +00:00
|
|
|
main.c
|
|
|
|
mxnamespace.c
|
|
|
|
mxwriter.c
|
2011-05-16 13:12:07 +00:00
|
|
|
node.c
|
|
|
|
nodelist.c
|
|
|
|
nodemap.c
|
|
|
|
parseerror.c
|
|
|
|
pi.c
|
2012-09-09 19:47:25 +00:00
|
|
|
saxreader.c
|
2011-05-16 13:12:07 +00:00
|
|
|
schema.c
|
2012-09-09 19:47:25 +00:00
|
|
|
selection.c
|
|
|
|
stylesheet.c
|
2011-05-16 13:12:07 +00:00
|
|
|
text.c
|
2012-09-09 19:47:25 +00:00
|
|
|
xdr.c
|
2011-05-16 13:12:07 +00:00
|
|
|
xmldoc.c
|
|
|
|
xmlelem.c
|
2012-09-09 19:47:25 +00:00
|
|
|
xmlparser.c
|
|
|
|
xmlview.c
|
|
|
|
xslpattern.tab.c
|
|
|
|
xslpattern.yy.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msxml3_stubs.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-23 11:38:27 +00:00
|
|
|
list(APPEND msxml3_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/msxml3.manifest
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/msxml3_v1.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/xmlparser.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msxml3_v1.tlb)
|
2012-09-09 19:47:25 +00:00
|
|
|
|
2013-09-23 11:38:27 +00:00
|
|
|
set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${msxml3_rc_deps}")
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(msxml3 SHARED
|
|
|
|
${SOURCE}
|
|
|
|
factory.c
|
|
|
|
uuid.c
|
|
|
|
version.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
|
|
|
|
|
2012-09-09 19:47:25 +00:00
|
|
|
add_idl_headers(xmlparser_idlheader xmlparser.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(msxml3 win32dll)
|
2014-04-18 19:33:35 +00:00
|
|
|
target_link_libraries(msxml3 libxml2 iconv-static uuid wine zlib)
|
2013-09-23 11:38:27 +00:00
|
|
|
add_importlibs(msxml3 urlmon ws2_32 shlwapi oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
|
|
|
add_dependencies(msxml3 xmlparser_idlheader stdole2) # msxml3_v1.tlb needs stdole2.tlb
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(msxml3 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET msxml3 DESTINATION reactos/system32 FOR all)
|