2011-05-16 13:12:07 +00:00
|
|
|
|
2014-03-05 10:42:27 +00:00
|
|
|
include_directories(
|
|
|
|
include
|
2014-04-18 19:33:35 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/lib/3rdparty/libwin-iconv
|
|
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-D__MINGW32__
|
|
|
|
-DLIBXML_STATIC
|
|
|
|
-D_REENTRANT
|
|
|
|
-DHAVE_WIN32_THREADS
|
|
|
|
-D_MBCS
|
|
|
|
-D_WINDOWS
|
|
|
|
-DWIN32
|
|
|
|
-DHAVE_CONFIG_H
|
2014-03-05 10:42:27 +00:00
|
|
|
-DICONV_CONST=const
|
2011-05-16 13:12:07 +00:00
|
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2013-02-09 14:08:22 +00:00
|
|
|
buf.c
|
2011-05-16 13:12:07 +00:00
|
|
|
c14n.c
|
|
|
|
catalog.c
|
|
|
|
chvalid.c
|
|
|
|
debugXML.c
|
|
|
|
dict.c
|
|
|
|
DOCBparser.c
|
|
|
|
encoding.c
|
|
|
|
entities.c
|
|
|
|
error.c
|
|
|
|
globals.c
|
|
|
|
hash.c
|
|
|
|
HTMLparser.c
|
|
|
|
HTMLtree.c
|
|
|
|
legacy.c
|
|
|
|
list.c
|
|
|
|
nanoftp.c
|
|
|
|
nanohttp.c
|
|
|
|
parser.c
|
|
|
|
parserInternals.c
|
|
|
|
pattern.c
|
|
|
|
relaxng.c
|
|
|
|
SAX.c
|
|
|
|
SAX2.c
|
|
|
|
threads.c
|
|
|
|
tree.c
|
|
|
|
uri.c
|
|
|
|
valid.c
|
|
|
|
xinclude.c
|
|
|
|
xlink.c
|
|
|
|
xmlIO.c
|
|
|
|
xmlmemory.c
|
|
|
|
xmlreader.c
|
|
|
|
xmlregexp.c
|
|
|
|
xmlmodule.c
|
|
|
|
xmlsave.c
|
|
|
|
xmlschemas.c
|
|
|
|
xmlschemastypes.c
|
|
|
|
xmlunicode.c
|
|
|
|
xmlwriter.c
|
|
|
|
xpath.c
|
|
|
|
xpointer.c
|
2014-02-09 21:43:42 +00:00
|
|
|
xmlstring.c
|
|
|
|
libxml.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_library(libxml2 ${SOURCE})
|
|
|
|
target_link_libraries(libxml2 oldnames)
|
2014-02-09 21:43:42 +00:00
|
|
|
add_pch(libxml2 libxml.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_dependencies(libxml2 psdk)
|
2011-09-04 17:32:30 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2013-07-19 23:33:08 +00:00
|
|
|
add_target_compile_flags(libxml2 "-w")
|
2011-09-04 17:32:30 +00:00
|
|
|
endif()
|