- Remove wpp from build.
- Improve several tools and libs.
- Improve the root cmake file.

svn path=/branches/cmake-bringup/; revision=49492
This commit is contained in:
Amine Khaldi 2010-11-05 18:06:25 +00:00
parent 2901215553
commit c93d1289fd
13 changed files with 297 additions and 220 deletions

View file

@ -1,54 +1,63 @@
include_directories(.)
include_directories(./include)
add_definitions(-D__MINGW32__ -DLIBXML_STATIC -D_REENTRANT -DHAVE_WIN32_THREADS -D_MBCS -D_WINDOWS -DWIN32 -DHAVE_CONFIG_H)
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(
.
include)
add_definitions(
-D__MINGW32__
-DLIBXML_STATIC
-D_REENTRANT
-DHAVE_WIN32_THREADS
-D_MBCS
-D_WINDOWS
-DWIN32
-DHAVE_CONFIG_H
-D_DLL -D__USE_CRTIMP)
list(APPEND SOURCE
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
)
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)
add_library(libxml2 ${SOURCE})
target_link_libraries(libxml2 oldnames)
add_dependencies(libxml2 psdk)
add_dependencies(libxml2 psdk)