mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:53:02 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
77
sdk/lib/3rdparty/libxml2/CMakeLists.txt
vendored
Normal file
77
sdk/lib/3rdparty/libxml2/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,77 @@
|
|||
|
||||
include_directories(
|
||||
include
|
||||
${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libwin-iconv
|
||||
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
|
||||
|
||||
add_definitions(
|
||||
-D__MINGW32__
|
||||
-DLIBXML_STATIC
|
||||
-D_REENTRANT
|
||||
-DHAVE_WIN32_THREADS
|
||||
-D_MBCS
|
||||
-D_WINDOWS
|
||||
-DWIN32
|
||||
-DHAVE_CONFIG_H
|
||||
-DICONV_CONST=const
|
||||
-D_DLL -D__USE_CRTIMP)
|
||||
|
||||
list(APPEND SOURCE
|
||||
buf.c
|
||||
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
|
||||
xmlstring.c
|
||||
libxml.h)
|
||||
|
||||
add_library(libxml2 ${SOURCE})
|
||||
target_link_libraries(libxml2 oldnames)
|
||||
add_pch(libxml2 libxml.h SOURCE)
|
||||
add_dependencies(libxml2 psdk)
|
||||
|
||||
if(MSVC)
|
||||
# Formal parameter different from declaration
|
||||
add_target_compile_flags(libxml2 "/wd4101")
|
||||
# Local variable initialized but not referenced
|
||||
replace_compile_flags("/we4189" " ")
|
||||
else()
|
||||
add_target_compile_flags(libxml2 "-w")
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue