update libstudxml to 1.1.0-b.8

This commit is contained in:
Thomas Fussell 2019-12-26 12:49:05 -05:00
parent fcc2f0dddf
commit 54e7c1df3d
70 changed files with 392 additions and 1628 deletions

View File

@ -14,40 +14,40 @@ if(STATIC_CRT)
endif()
set(LIBSTUDXML
${LIBSTUDXML_ROOT_DIR}/xml/parser.cxx
${LIBSTUDXML_ROOT_DIR}/xml/qname.cxx
${LIBSTUDXML_ROOT_DIR}/xml/serializer.cxx
${LIBSTUDXML_ROOT_DIR}/xml/value-traits.cxx
${LIBSTUDXML_ROOT_DIR}/xml/content
${LIBSTUDXML_ROOT_DIR}/xml/exception
${LIBSTUDXML_ROOT_DIR}/xml/forward
${LIBSTUDXML_ROOT_DIR}/xml/parser
${LIBSTUDXML_ROOT_DIR}/xml/qname
${LIBSTUDXML_ROOT_DIR}/xml/serializer
${LIBSTUDXML_ROOT_DIR}/xml/value-traits)
${LIBSTUDXML_ROOT_DIR}/libstudxml/parser.cxx
${LIBSTUDXML_ROOT_DIR}/libstudxml/qname.cxx
${LIBSTUDXML_ROOT_DIR}/libstudxml/serializer.cxx
${LIBSTUDXML_ROOT_DIR}/libstudxml/value-traits.cxx
${LIBSTUDXML_ROOT_DIR}/libstudxml/content
${LIBSTUDXML_ROOT_DIR}/libstudxml/exception
${LIBSTUDXML_ROOT_DIR}/libstudxml/forward
${LIBSTUDXML_ROOT_DIR}/libstudxml/parser
${LIBSTUDXML_ROOT_DIR}/libstudxml/qname
${LIBSTUDXML_ROOT_DIR}/libstudxml/serializer
${LIBSTUDXML_ROOT_DIR}/libstudxml/value-traits)
set(GENX
${LIBSTUDXML_ROOT_DIR}/xml/details/genx/char-props.c
${LIBSTUDXML_ROOT_DIR}/xml/details/genx/genx.c
${LIBSTUDXML_ROOT_DIR}/xml/details/genx/genx.h)
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/genx/char-props.c
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/genx/genx.c
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/genx/genx.h)
set(EXPAT
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/xmlparse.c
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/xmlrole.c
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/xmltok.c
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/ascii.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/asciitab.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/config.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/expat_external.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/expat.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/iasciitab.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/internal.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/latin1tab.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/nametab.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/utf8tab.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/xmlrole.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/xmltok_impl.h
${LIBSTUDXML_ROOT_DIR}/xml/details/expat/xmltok.h)
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/xmlparse.c
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/xmlrole.c
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/xmltok.c
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/ascii.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/asciitab.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/config.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/expat_external.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/expat.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/iasciitab.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/internal.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/latin1tab.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/nametab.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/utf8tab.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/xmlrole.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/xmltok_impl.h
${LIBSTUDXML_ROOT_DIR}/libstudxml/details/expat/xmltok.h)
add_library(libstudxml OBJECT ${LIBSTUDXML} ${GENX} ${EXPAT})

View File

@ -8,7 +8,7 @@ Code found in the xml/details/genx/ directory is distributed under
the MIT License (see the xml/details/genx/LICENSE file for copyright
information).
The rest is Copyright (c) 2013-2017 Code Synthesis Tools CC and is
The rest is Copyright (c) 2013-2019 Code Synthesis Tools CC and is
distributed under the MIT License:
Permission is hereby granted, free of charge, to any person obtaining

View File

@ -0,0 +1,82 @@
# file : libstudxml/buildfile
# copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
lib{studxml}: {hxx ixx txx cxx}{** -version} {hxx}{version} \
details/{h}{config*}
# Expat. Note that we treat a whole bunch of its sources as files since they
# are private and #include's (including .c file).
#
lib{studxml}: details/expat/{ \
h{expat expat_external} \
c{xmlparse xmlrole xmltok} \
file{ascii.h asciitab.h config.h iasciitab.h internal.h latin1tab.h nametab.h \
utf8tab.h xmlrole.h xmltok.h xmltok_impl.h xmltok_impl.c xmltok_ns.c} \
doc{LICENSE README} \
}
details/expat/doc{README}@./: install = false
details/expat/doc{LICENSE}@./: install = doc/EXPAT-LICENSE
# Genx.
#
lib{studxml}: details/genx/{h{*} c{*} doc{LICENSE README}}
# Include the generated version header into the distribution (so that we don't
# pick up an installed one) and don't remove it when cleaning in src (so that
# clean results in a state identical to distributed).
#
hxx{version}: in{version} $src_root/manifest
hxx{version}:
{
dist = true
clean = ($src_root != $out_root)
}
# Build options.
#
if ($c.class == 'gcc')
{
# Disable warnings that pop up with -Wextra (e.g, -fimplicit-fallthrough)
# in C implementation details.
#
details/expat/ c.coptions += -Wno-extra
details/genx/ c.coptions += -Wno-extra
}
# We are a mixed C/C++ library, though C is implementation-only, kind of: we
# need headers but not symbols.
#
cc.poptions =+ "-I$out_root" "-I$src_root"
obja{*}: cc.poptions += -DLIBSTUDXML_STATIC_BUILD
objs{*}: cc.poptions += -DLIBSTUDXML_SHARED_BUILD
# Export options.
#
lib{studxml}: cc.export.poptions = "-I$out_root" "-I$src_root"
liba{studxml}: cc.export.poptions += -DLIBSTUDXML_STATIC
libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED
# For pre-releases use the complete version to make sure they cannot be used
# in place of another pre-release or the final version. See the version module
# for details on the version.* variable values.
#
if $version.pre_release
lib{studxml}: bin.lib.version = @"-$version.project_id"
else
lib{studxml}: bin.lib.version = @"-$version.major.$version.minor"
# Install into the libstudxml/ subdirectory of, say, /usr/include/
# recreating subdirectories.
#
{h hxx ixx txx}{*}:
{
install = include/libstudxml/
install.subdirs = true
}
details/genx/doc{README}@./: install = false
details/genx/doc{LICENSE}@./: install = doc/GENX-LICENSE

View File

@ -1,11 +1,11 @@
// file : xml/content -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/content.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_CONTENT
#define XML_CONTENT
#ifndef LIBSTUDXML_CONTENT_HXX
#define LIBSTUDXML_CONTENT_HXX
#include <xml/details/pre.hxx>
#include <libstudxml/details/pre.hxx>
namespace xml
{
@ -30,6 +30,6 @@ namespace xml
};
}
#include <xml/details/post.hxx>
#include <libstudxml/details/post.hxx>
#endif // XML_CONTENT
#endif // LIBSTUDXML_CONTENT_HXX

View File

@ -0,0 +1,15 @@
/* file : libstudxml/details/config-vc.h
* copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
* license : MIT; see accompanying LICENSE file
*/
/* Configuration file for Windows/VC++ for the build2 build. */
#ifndef LIBSTUDXML_DETAILS_CONFIG_VC_H
#define LIBSTUDXML_DETAILS_CONFIG_VC_H
// Always little-endian, at least on i686 and x86_64.
//
#define LIBSTUDXML_BYTEORDER 1234
#endif /* LIBSTUDXML_DETAILS_CONFIG_VC_H */

View File

@ -1,17 +1,12 @@
/* file : xml/details/build2/config.h
* copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
/* file : libstudxml/details/build2/config.h
* copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
* license : MIT; see accompanying LICENSE file
*/
/* Static configuration file for the build2 build. */
#ifndef XML_DETAILS_CONFIG_H
#define XML_DETAILS_CONFIG_H
/* Define LIBSTUDXML_BUILD2 for the installed case. */
#ifndef LIBSTUDXML_BUILD2
# define LIBSTUDXML_BUILD2
#endif
#ifndef LIBSTUDXML_DETAILS_CONFIG_H
#define LIBSTUDXML_DETAILS_CONFIG_H
#ifdef __FreeBSD__
# include <sys/endian.h> /* BYTE_ORDER */
@ -42,4 +37,4 @@
# define LIBSTUDXML_BYTEORDER 1234
#endif
#endif /* XML_DETAILS_CONFIG_H */
#endif /* LIBSTUDXML_DETAILS_CONFIG_H */

View File

@ -1,9 +1,9 @@
// file : xml/details/config.hxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/details/config.hxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_DETAILS_CONFIG_HXX
#define XML_DETAILS_CONFIG_HXX
#ifndef LIBSTUDXML_DETAILS_CONFIG_HXX
#define LIBSTUDXML_DETAILS_CONFIG_HXX
// C++11 support.
//
@ -31,20 +31,10 @@
# define STUDXML_NOTHROW_NOEXCEPT throw()
#endif
// Note: the same in expat/config.h
//
#ifdef LIBSTUDXML_BUILD2
# ifdef _MSC_VER
# include <xml/details/build2/config-vc.h>
# else
# include <xml/details/build2/config.h>
# endif
#ifdef _MSC_VER
# include <libstudxml/details/config-vc.h>
#else
# ifdef _MSC_VER
# include <xml/details/config-vc.h>
# else
# include <xml/details/config.h>
# endif
# include <libstudxml/details/config.h>
#endif
#endif // XML_DETAILS_CONFIG_HXX
#endif // LIBSTUDXML_DETAILS_CONFIG_HXX

View File

@ -1,18 +1,10 @@
#ifndef EXPAT_CONFIG_H
#define EXPAT_CONFIG_H
#ifdef LIBSTUDXML_BUILD2
# ifdef _MSC_VER
# include <xml/details/build2/config-vc.h>
# else
# include <xml/details/build2/config.h>
# endif
#ifdef _MSC_VER
# include <libstudxml/details/config-vc.h>
#else
# ifdef _MSC_VER
# include <xml/details/config-vc.h>
# else
# include <xml/details/config.h>
# endif
# include <libstudxml/details/config.h>
#endif
#define BYTEORDER LIBSTUDXML_BYTEORDER

View File

@ -15,7 +15,7 @@
#endif
#include <stdlib.h>
#include <xml/details/expat/expat_external.h>
#include <libstudxml/details/expat/expat_external.h>
#ifdef __cplusplus
extern "C" {

View File

@ -10,10 +10,10 @@
#define XML_BUILDING_EXPAT 1
#include <xml/details/expat/config.h>
#include <libstudxml/details/expat/config.h>
#include <xml/details/expat/ascii.h>
#include <xml/details/expat/expat.h>
#include <libstudxml/details/expat/ascii.h>
#include <libstudxml/details/expat/expat.h>
#ifdef XML_UNICODE
#define XML_ENCODE_MAX XML_UTF16_ENCODE_MAX
@ -74,9 +74,9 @@ typedef char ICHAR;
#endif /* HAVE_BCOPY */
#endif /* HAVE_MEMMOVE */
#include <xml/details/expat/internal.h>
#include <xml/details/expat/xmltok.h>
#include <xml/details/expat/xmlrole.h>
#include <libstudxml/details/expat/internal.h>
#include <libstudxml/details/expat/xmltok.h>
#include <libstudxml/details/expat/xmlrole.h>
typedef const XML_Char *KEY;

View File

@ -4,12 +4,12 @@
#include <stddef.h>
#include <xml/details/expat/config.h>
#include <libstudxml/details/expat/config.h>
#include <xml/details/expat/expat_external.h>
#include <xml/details/expat/internal.h>
#include <xml/details/expat/xmlrole.h>
#include <xml/details/expat/ascii.h>
#include <libstudxml/details/expat/expat_external.h>
#include <libstudxml/details/expat/internal.h>
#include <libstudxml/details/expat/xmlrole.h>
#include <libstudxml/details/expat/ascii.h>
/* Doesn't check:

View File

@ -11,7 +11,7 @@
#define XmlPrologStateInitExternalEntity XmlPrologStateInitExternalEnt
#endif
#include <xml/details/expat/xmltok.h>
#include <libstudxml/details/expat/xmltok.h>
#ifdef __cplusplus
extern "C" {

View File

@ -4,12 +4,12 @@
#include <stddef.h>
#include <xml/details/expat/config.h>
#include <libstudxml/details/expat/config.h>
#include <xml/details/expat/expat_external.h>
#include <xml/details/expat/internal.h>
#include <xml/details/expat/xmltok.h>
#include <xml/details/expat/nametab.h>
#include <libstudxml/details/expat/expat_external.h>
#include <libstudxml/details/expat/internal.h>
#include <libstudxml/details/expat/xmltok.h>
#include <libstudxml/details/expat/nametab.h>
#ifdef XML_DTD
#define IGNORE_SECTION_TOK_VTABLE , PREFIX(ignoreSectionTok)
@ -242,8 +242,8 @@ struct normal_encoding {
static int FASTCALL checkCharRefNumber(int);
#include <xml/details/expat/xmltok_impl.h>
#include <xml/details/expat/ascii.h>
#include <libstudxml/details/expat/xmltok_impl.h>
#include <libstudxml/details/expat/ascii.h>
#ifdef XML_MIN_SIZE
#define sb_isNameMin isNever
@ -316,7 +316,7 @@ sb_charMatches(const ENCODING *enc, const char *p, int c)
#define PREFIX(ident) normal_ ## ident
#define XML_TOK_IMPL_C
#include <xml/details/expat/xmltok_impl.c>
#include <libstudxml/details/expat/xmltok_impl.c>
#undef XML_TOK_IMPL_C
#undef MINBPC
@ -404,8 +404,8 @@ after:
static const struct normal_encoding utf8_encoding_ns = {
{ VTABLE1, utf8_toUtf8, utf8_toUtf16, 1, 1, 0 },
{
#include <xml/details/expat/asciitab.h>
#include <xml/details/expat/utf8tab.h>
#include <libstudxml/details/expat/asciitab.h>
#include <libstudxml/details/expat/utf8tab.h>
},
STANDARD_VTABLE(sb_) NORMAL_VTABLE(utf8_)
};
@ -415,9 +415,9 @@ static const struct normal_encoding utf8_encoding = {
{ VTABLE1, utf8_toUtf8, utf8_toUtf16, 1, 1, 0 },
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/asciitab.h>
#include <libstudxml/details/expat/asciitab.h>
#undef BT_COLON
#include <xml/details/expat/utf8tab.h>
#include <libstudxml/details/expat/utf8tab.h>
},
STANDARD_VTABLE(sb_) NORMAL_VTABLE(utf8_)
};
@ -427,8 +427,8 @@ static const struct normal_encoding utf8_encoding = {
static const struct normal_encoding internal_utf8_encoding_ns = {
{ VTABLE1, utf8_toUtf8, utf8_toUtf16, 1, 1, 0 },
{
#include <xml/details/expat/iasciitab.h>
#include <xml/details/expat/utf8tab.h>
#include <libstudxml/details/expat/iasciitab.h>
#include <libstudxml/details/expat/utf8tab.h>
},
STANDARD_VTABLE(sb_) NORMAL_VTABLE(utf8_)
};
@ -439,9 +439,9 @@ static const struct normal_encoding internal_utf8_encoding = {
{ VTABLE1, utf8_toUtf8, utf8_toUtf16, 1, 1, 0 },
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/iasciitab.h>
#include <libstudxml/details/expat/iasciitab.h>
#undef BT_COLON
#include <xml/details/expat/utf8tab.h>
#include <libstudxml/details/expat/utf8tab.h>
},
STANDARD_VTABLE(sb_) NORMAL_VTABLE(utf8_)
};
@ -489,8 +489,8 @@ latin1_toUtf16(const ENCODING *enc,
static const struct normal_encoding latin1_encoding_ns = {
{ VTABLE1, latin1_toUtf8, latin1_toUtf16, 1, 0, 0 },
{
#include <xml/details/expat/asciitab.h>
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/asciitab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(sb_) ZERO_VTABLE
};
@ -501,9 +501,9 @@ static const struct normal_encoding latin1_encoding = {
{ VTABLE1, latin1_toUtf8, latin1_toUtf16, 1, 0, 0 },
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/asciitab.h>
#include <libstudxml/details/expat/asciitab.h>
#undef BT_COLON
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(sb_) ZERO_VTABLE
};
@ -524,7 +524,7 @@ ascii_toUtf8(const ENCODING *enc,
static const struct normal_encoding ascii_encoding_ns = {
{ VTABLE1, ascii_toUtf8, latin1_toUtf16, 1, 1, 0 },
{
#include <xml/details/expat/asciitab.h>
#include <libstudxml/details/expat/asciitab.h>
/* BT_NONXML == 0 */
},
STANDARD_VTABLE(sb_) ZERO_VTABLE
@ -536,7 +536,7 @@ static const struct normal_encoding ascii_encoding = {
{ VTABLE1, ascii_toUtf8, latin1_toUtf16, 1, 1, 0 },
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/asciitab.h>
#include <libstudxml/details/expat/asciitab.h>
#undef BT_COLON
/* BT_NONXML == 0 */
},
@ -726,7 +726,7 @@ little2_isNmstrtMin(const ENCODING *enc, const char *p)
#define IS_NMSTRT_CHAR_MINBPC(enc, p) LITTLE2_IS_NMSTRT_CHAR_MINBPC(enc, p)
#define XML_TOK_IMPL_C
#include <xml/details/expat/xmltok_impl.c>
#include <libstudxml/details/expat/xmltok_impl.c>
#undef XML_TOK_IMPL_C
#undef MINBPC
@ -752,8 +752,8 @@ static const struct normal_encoding little2_encoding_ns = {
#endif
},
{
#include <xml/details/expat/asciitab.h>
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/asciitab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(little2_) ZERO_VTABLE
};
@ -770,9 +770,9 @@ static const struct normal_encoding little2_encoding = {
},
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/asciitab.h>
#include <libstudxml/details/expat/asciitab.h>
#undef BT_COLON
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(little2_) ZERO_VTABLE
};
@ -784,8 +784,8 @@ static const struct normal_encoding little2_encoding = {
static const struct normal_encoding internal_little2_encoding_ns = {
{ VTABLE, 2, 0, 1 },
{
#include <xml/details/expat/iasciitab.h>
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/iasciitab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(little2_) ZERO_VTABLE
};
@ -796,9 +796,9 @@ static const struct normal_encoding internal_little2_encoding = {
{ VTABLE, 2, 0, 1 },
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/iasciitab.h>
#include <libstudxml/details/expat/iasciitab.h>
#undef BT_COLON
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(little2_) ZERO_VTABLE
};
@ -867,7 +867,7 @@ big2_isNmstrtMin(const ENCODING *enc, const char *p)
#define IS_NMSTRT_CHAR_MINBPC(enc, p) BIG2_IS_NMSTRT_CHAR_MINBPC(enc, p)
#define XML_TOK_IMPL_C
#include <xml/details/expat/xmltok_impl.c>
#include <libstudxml/details/expat/xmltok_impl.c>
#undef XML_TOK_IMPL_C
#undef MINBPC
@ -893,8 +893,8 @@ static const struct normal_encoding big2_encoding_ns = {
#endif
},
{
#include <xml/details/expat/asciitab.h>
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/asciitab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(big2_) ZERO_VTABLE
};
@ -911,9 +911,9 @@ static const struct normal_encoding big2_encoding = {
},
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/asciitab.h>
#include <libstudxml/details/expat/asciitab.h>
#undef BT_COLON
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(big2_) ZERO_VTABLE
};
@ -925,8 +925,8 @@ static const struct normal_encoding big2_encoding = {
static const struct normal_encoding internal_big2_encoding_ns = {
{ VTABLE, 2, 0, 1 },
{
#include <xml/details/expat/iasciitab.h>
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/iasciitab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(big2_) ZERO_VTABLE
};
@ -937,9 +937,9 @@ static const struct normal_encoding internal_big2_encoding = {
{ VTABLE, 2, 0, 1 },
{
#define BT_COLON BT_NMSTRT
#include <xml/details/expat/iasciitab.h>
#include <libstudxml/details/expat/iasciitab.h>
#undef BT_COLON
#include <xml/details/expat/latin1tab.h>
#include <libstudxml/details/expat/latin1tab.h>
},
STANDARD_VTABLE(big2_) ZERO_VTABLE
};
@ -1649,7 +1649,7 @@ initScan(const ENCODING * const *encodingTable,
#define NS(x) x
#define ns(x) x
#define XML_TOK_NS_C
#include <xml/details/expat/xmltok_ns.c>
#include <libstudxml/details/expat/xmltok_ns.c>
#undef XML_TOK_NS_C
#undef NS
#undef ns
@ -1660,7 +1660,7 @@ initScan(const ENCODING * const *encodingTable,
#define ns(x) x ## _ns
#define XML_TOK_NS_C
#include <xml/details/expat/xmltok_ns.c>
#include <libstudxml/details/expat/xmltok_ns.c>
#undef XML_TOK_NS_C
#undef NS

View File

@ -1,11 +1,9 @@
// file : xml/details/export.hxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/details/export.hxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_DETAILS_EXPORT_HXX
#define XML_DETAILS_EXPORT_HXX
#include <xml/details/config.hxx>
#ifndef LIBSTUDXML_DETAILS_EXPORT_HXX
#define LIBSTUDXML_DETAILS_EXPORT_HXX
// Normally we don't export class templates (but do complete specializations),
// inline functions, and classes with only inline member functions. Exporting
@ -15,8 +13,6 @@
// used before their inline definition. The workaround is to reorder code. In
// the end it's all trial and error.
#ifdef LIBSTUDXML_BUILD2
#if defined(LIBSTUDXML_STATIC) // Using static.
# define LIBSTUDXML_EXPORT
#elif defined(LIBSTUDXML_STATIC_BUILD) // Building static.
@ -42,34 +38,4 @@
# define LIBSTUDXML_EXPORT // Using static or shared.
#endif
#else // LIBSTUDXML_BUILD2
#ifdef LIBSTUDXML_STATIC_LIB
# define LIBSTUDXML_EXPORT
#else
# ifdef _WIN32
# ifdef _MSC_VER
# ifdef LIBSTUDXML_DYNAMIC_LIB
# define LIBSTUDXML_EXPORT __declspec(dllexport)
# else
# define LIBSTUDXML_EXPORT __declspec(dllimport)
# endif
# else
# ifdef LIBSTUDXML_DYNAMIC_LIB
# ifdef DLL_EXPORT
# define LIBSTUDXML_EXPORT __declspec(dllexport)
# else
# define LIBSTUDXML_EXPORT
# endif
# else
# define LIBSTUDXML_EXPORT __declspec(dllimport)
# endif
# endif
# else
# define LIBSTUDXML_EXPORT
# endif
#endif
#endif // LIBSTUDXML_BUILD2
#endif // XML_DETAILS_EXPORT_HXX
#endif // LIBSTUDXML_DETAILS_EXPORT_HXX

View File

@ -1,4 +1,4 @@
Copyright (c) 2007-2017 Code Synthesis Tools CC.
Copyright (c) 2007-2019 Code Synthesis Tools CC.
Copyright (c) Tim Bray and Sun Microsystems, 2004.
Permission is hereby granted, free of charge, to any person obtaining

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007-2017 Code Synthesis Tools CC.
* Copyright (c) 2007-2019 Code Synthesis Tools CC.
* Copyright (c) 2004 by Tim Bray and Sun Microsystems.
*
* For copying permission, see the accompanying COPYING file.
@ -11,7 +11,7 @@
* This version is generated semi-automatically from the source code of the
* XML specification via emacs global replace and keyboard macros
*/
#include <xml/details/genx/genx.h>
#include <libstudxml/details/genx/genx.h>
static void charProp(char * p, int c, int prop)
{

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007-2017 Code Synthesis Tools CC.
* Copyright (c) 2007-2019 Code Synthesis Tools CC.
* Copyright (c) 2004 by Tim Bray and Sun Microsystems.
*
* For copying permission, see the accompanying COPYING file.
@ -11,7 +11,7 @@
#include <stdlib.h>
#include <string.h>
#include <xml/details/genx/genx.h>
#include <libstudxml/details/genx/genx.h>
#define Boolean int
#define True 1
@ -231,7 +231,7 @@ static genxStatus collectString(genxWriter w, collector * c, constUtf8 string)
return GENX_SUCCESS;
}
#define collectPiece(w,c,d,size) {if (((c)->used+(size))>=(c)->space){if (((w)->status=growCollector(w,c,(c)->used+(size)))!=GENX_SUCCESS) return (w)->status;}strncpy((char *)(c)->buf+(c)->used,d,size);(c)->used+=size;}
#define collectPiece(w,c,d,size) {if (((c)->used+(size))>=(c)->space){if (((w)->status=growCollector(w,c,(c)->used+(size)))!=GENX_SUCCESS) return (w)->status;}memcpy((char *)(c)->buf+(c)->used,d,size);(c)->used+=size;}
/*******************************
* private list utilities

View File

@ -3,7 +3,7 @@
*/
/*
* Copyright (c) 2007-2017 Code Synthesis Tools CC.
* Copyright (c) 2007-2019 Code Synthesis Tools CC.
* Copyright (c) 2004 by Tim Bray and Sun Microsystems.
*
* For copying permission, see the accompanying COPYING file.

View File

@ -0,0 +1,7 @@
// file : libstudxml/details/post.hxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifdef _MSC_VER
# pragma warning (pop)
#endif

View File

@ -1,5 +1,5 @@
// file : xml/details/pre.hxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/details/pre.hxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifdef _MSC_VER

View File

@ -0,0 +1,19 @@
// file : libstudxml/exception.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef LIBSTUDXML_EXCEPTION_HXX
#define LIBSTUDXML_EXCEPTION_HXX
#include <libstudxml/details/pre.hxx>
#include <exception>
namespace xml
{
class exception: public std::exception {};
}
#include <libstudxml/details/post.hxx>
#endif // LIBSTUDXML_EXCEPTION_HXX

View File

@ -0,0 +1,22 @@
// file : libstudxml/forward.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef LIBSTUDXML_FORWARD_HXX
#define LIBSTUDXML_FORWARD_HXX
#include <libstudxml/details/pre.hxx>
#include <libstudxml/version.hxx>
namespace xml
{
class qname;
class parser;
class serializer;
class exception;
}
#include <libstudxml/details/post.hxx>
#endif // LIBSTUDXML_FORWARD_HXX

View File

@ -1,5 +1,5 @@
// file : xml/parser.cxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/parser.cxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <new> // std::bad_alloc
@ -9,7 +9,7 @@
#include <ostream>
#include <sstream>
#include <xml/parser>
#include <libstudxml/parser.hxx>
using namespace std;
@ -452,8 +452,8 @@ namespace xml
pqname_ = &qname_;
break; // No more declarations.
}
// Fall through.
}
// Fall through.
case start_element:
{
event_ = start_namespace_decl;
@ -497,8 +497,8 @@ namespace xml
pvalue_ = &value_;
break; // No more attributes.
}
// Fall through.
}
// Fall through.
case start_element:
case start_namespace_decl:
{
@ -531,13 +531,13 @@ namespace xml
pqname_ = &qname_;
break; // No more declarations.
}
// Fall through.
}
// The end namespace declaration comes before the end element
// which means it can follow pretty much any other event.
//
// Fall through.
default:
{
// The end namespace declaration comes before the end element which
// means it can follow pretty much any other event.
//
event_ = end_namespace_decl;
pqname_ = &end_ns_[end_ns_i_];
return event_;

View File

@ -1,11 +1,11 @@
// file : xml/parser -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/parser.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_PARSER
#define XML_PARSER
#ifndef LIBSTUDXML_PARSER_HXX
#define LIBSTUDXML_PARSER_HXX
#include <xml/details/pre.hxx>
#include <libstudxml/details/pre.hxx>
#include <map>
#include <vector>
@ -13,11 +13,11 @@
#include <iosfwd>
#include <cstddef> // std::size_t
#include <xml/details/config.hxx> // STUDXML_NOTHROW_NOEXCEPT,
// LIBSTUDXML_EXTERNAL_EXPAT
#include <libstudxml/details/config.hxx> // STUDXML_NOTHROW_NOEXCEPT,
// LIBSTUDXML_EXTERNAL_EXPAT
#ifndef LIBSTUDXML_EXTERNAL_EXPAT
# include <xml/details/expat/expat.h>
# include <libstudxml/details/expat/expat.h>
#else
# include <expat.h>
#endif
@ -28,12 +28,12 @@
# error UTF-16 expat (XML_UNICODE defined) is not supported
#endif
#include <xml/forward>
#include <xml/qname>
#include <xml/content>
#include <xml/exception>
#include <libstudxml/forward.hxx>
#include <libstudxml/qname.hxx>
#include <libstudxml/content.hxx>
#include <libstudxml/exception.hxx>
#include <xml/details/export.hxx>
#include <libstudxml/details/export.hxx>
namespace xml
{
@ -464,9 +464,9 @@ namespace xml
operator<< (std::ostream&, parser::event_type);
}
#include <xml/parser.ixx>
#include <xml/parser.txx>
#include <libstudxml/parser.ixx>
#include <libstudxml/parser.txx>
#include <xml/details/post.hxx>
#include <libstudxml/details/post.hxx>
#endif // XML_PARSER
#endif // LIBSTUDXML_PARSER_HXX

View File

@ -1,10 +1,10 @@
// file : xml/parser.ixx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/parser.ixx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <cassert>
#include <xml/value-traits>
#include <libstudxml/value-traits.hxx>
namespace xml
{
@ -215,16 +215,16 @@ namespace xml
inline void parser::
next_expect (event_type e, const qname_type& qn, content_type c)
{
next_expect (e, qn);
assert (e == start_element);
next_expect (e, qn);
content (c);
}
inline void parser::
next_expect (event_type e, const std::string& n, content_type c)
{
next_expect (e, std::string (), n);
assert (e == start_element);
next_expect (e, std::string (), n);
content (c);
}
@ -233,8 +233,8 @@ namespace xml
const std::string& ns, const std::string& n,
content_type c)
{
next_expect (e, ns, n);
assert (e == start_element);
next_expect (e, ns, n);
content (c);
}
}

View File

@ -1,8 +1,8 @@
// file : xml/parser.txx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/parser.txx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <xml/value-traits>
#include <libstudxml/value-traits.hxx>
namespace xml
{

View File

@ -1,10 +1,10 @@
// file : xml/qname.cxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/qname.cxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <ostream>
#include <xml/qname>
#include <libstudxml/qname.hxx>
using namespace std;

View File

@ -1,18 +1,18 @@
// file : xml/qname -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/qname.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_QNAME
#define XML_QNAME
#ifndef LIBSTUDXML_QNAME_HXX
#define LIBSTUDXML_QNAME_HXX
#include <xml/details/pre.hxx>
#include <libstudxml/details/pre.hxx>
#include <string>
#include <iosfwd>
#include <xml/forward>
#include <libstudxml/forward.hxx>
#include <xml/details/export.hxx>
#include <libstudxml/details/export.hxx>
namespace xml
{
@ -81,6 +81,6 @@ namespace xml
operator<< (std::ostream&, const qname&);
}
#include <xml/details/post.hxx>
#include <libstudxml/details/post.hxx>
#endif // XML_QNAME
#endif // LIBSTUDXML_QNAME_HXX

View File

@ -1,11 +1,11 @@
// file : xml/serializer.cxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/serializer.cxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <new> // std::bad_alloc
#include <cstring> // std::strlen
#include <xml/serializer>
#include <libstudxml/serializer.hxx>
using namespace std;

View File

@ -1,24 +1,24 @@
// file : xml/serializer -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/serializer.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_SERIALIZER
#define XML_SERIALIZER
#ifndef LIBSTUDXML_SERIALIZER_HXX
#define LIBSTUDXML_SERIALIZER_HXX
#include <xml/details/pre.hxx>
#include <libstudxml/details/pre.hxx>
#include <string>
#include <ostream>
#include <cstddef> // std::size_t
#include <xml/details/genx/genx.h>
#include <libstudxml/details/genx/genx.h>
#include <xml/forward>
#include <xml/qname>
#include <xml/exception>
#include <libstudxml/forward.hxx>
#include <libstudxml/qname.hxx>
#include <libstudxml/exception.hxx>
#include <xml/details/config.hxx> // STUDXML_NOTHROW_NOEXCEPT
#include <xml/details/export.hxx>
#include <libstudxml/details/config.hxx> // STUDXML_NOTHROW_NOEXCEPT
#include <libstudxml/details/export.hxx>
namespace xml
{
@ -300,8 +300,8 @@ namespace xml
operator<< (serializer&, const T& value);
}
#include <xml/serializer.ixx>
#include <libstudxml/serializer.ixx>
#include <xml/details/post.hxx>
#include <libstudxml/details/post.hxx>
#endif // XML_SERIALIZER
#endif // LIBSTUDXML_SERIALIZER_HXX

View File

@ -1,8 +1,8 @@
// file : xml/serializer.ixx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/serializer.ixx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <xml/value-traits>
#include <libstudxml/value-traits.hxx>
namespace xml
{

View File

@ -1,8 +1,8 @@
// file : xml/value-traits.cxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/value-traits.cxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <xml/parser>
#include <libstudxml/parser.hxx>
using namespace std;

View File

@ -1,18 +1,18 @@
// file : xml/value-traits -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/value-traits.hxx -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_VALUE_TRAITS
#define XML_VALUE_TRAITS
#ifndef LIBSTUDXML_VALUE_TRAITS_HXX
#define LIBSTUDXML_VALUE_TRAITS_HXX
#include <xml/details/pre.hxx>
#include <libstudxml/details/pre.hxx>
#include <string>
#include <cstddef> // std::size_t
#include <xml/forward>
#include <libstudxml/forward.hxx>
#include <xml/details/export.hxx>
#include <libstudxml/details/export.hxx>
namespace xml
{
@ -62,8 +62,8 @@ namespace xml
struct value_traits<T[N]>: default_value_traits<const T*> {};
}
#include <xml/value-traits.txx>
#include <libstudxml/value-traits.txx>
#include <xml/details/post.hxx>
#include <libstudxml/details/post.hxx>
#endif // XML_VALUE_TRAITS
#endif // LIBSTUDXML_VALUE_TRAITS_HXX

View File

@ -1,11 +1,11 @@
// file : xml/value-traits.txx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// file : libstudxml/value-traits.txx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#include <sstream>
#include <xml/parser>
#include <xml/serializer>
#include <libstudxml/parser.hxx>
#include <libstudxml/serializer.hxx>
namespace xml
{

View File

View File

@ -0,0 +1,39 @@
// file : libstudxml/version.hxx.in -*- C++ -*-
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef LIBSTUDXML_VERSION // Note: using the version macro itself.
// The numeric version format is AAAAABBBBBCCCCCDDDE where:
//
// AAAAA - major version number
// BBBBB - minor version number
// CCCCC - bugfix version number
// DDD - alpha / beta (DDD + 500) version number
// E - final (0) / snapshot (1)
//
// When DDDE is not 0, 1 is subtracted from AAAAABBBBBCCCCC. For example:
//
// Version AAAAABBBBBCCCCCDDDE
//
// 0.1.0 0000000001000000000
// 0.1.2 0000000001000020000
// 1.2.3 0000100002000030000
// 2.2.0-a.1 0000200001999990010
// 3.0.0-b.2 0000299999999995020
// 2.2.0-a.1.z 0000200001999990011
//
#define LIBSTUDXML_VERSION $libstudxml.version.project_number$ULL
#define LIBSTUDXML_VERSION_STR "$libstudxml.version.project$"
#define LIBSTUDXML_VERSION_ID "$libstudxml.version.project_id$"
#define LIBSTUDXML_VERSION_MAJOR $libstudxml.version.major$
#define LIBSTUDXML_VERSION_MINOR $libstudxml.version.minor$
#define LIBSTUDXML_VERSION_PATCH $libstudxml.version.patch$
#define LIBSTUDXML_PRE_RELEASE $libstudxml.version.pre_release$
#define LIBSTUDXML_SNAPSHOT $libstudxml.version.snapshot_sn$ULL
#define LIBSTUDXML_SNAPSHOT_ID "$libstudxml.version.snapshot_id$"
#endif // LIBSTUDXML_VERSION

View File

@ -1 +1 @@
1.1.0-a5
1.1.0-b.8

View File

@ -1,31 +0,0 @@
# file : xml/Makefile.am
# copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
EXTRA_DIST = __file__(extra_dist)
studxmlincludedir = $(includedir)/xml
lib_LTLIBRARIES = libstudxml.la
libstudxml_la_SOURCES = __path__(sources)
nobase_studxmlinclude_HEADERS = __path__(headers)
nobase_nodist_studxmlinclude_HEADERS = details/config.h
if !LIBSTUDXML_EXTERNAL_EXPAT
libstudxml_la_SOURCES += __path__(expat_sources)
nobase_studxmlinclude_HEADERS += __path__(expat_headers)
endif
libstudxml_la_SOURCES += __path__(genx_sources)
nobase_studxmlinclude_HEADERS += __path__(genx_headers)
nobase_studxmlinclude_HEADERS += __path__(xml_headers)
# Make sure make doesn't try to build the no-extension headers
# thinking that they are executable.
#
__foreach_w__(__f,__path__(xml_headers),__f $(top_srcdir)/xml/__f ): ; @:
AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -DLIBSTUDXML_DYNAMIC_LIB
AM_LDFLAGS = -release __value__(interface_version) -no-undefined

View File

@ -1,87 +0,0 @@
# file : xml/buildfile
# copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
lib{studxml}: \
{hxx }{ content } \
{hxx }{ exception } \
{hxx }{ forward } \
{hxx ixx txx cxx}{ parser } \
{hxx cxx}{ qname } \
{hxx ixx cxx}{ serializer } \
{hxx txx cxx}{ value-traits } \
{hxx }{ version } \
details/{hxx }{ config.hxx } \
details/{hxx }{ export.hxx } \
details/{hxx }{ post.hxx } \
details/{hxx }{ pre.hxx } \
details/build2/{h }{ config } \
details/build2/{h }{ config-vc }
# Expat. Note that we treat a whole bunch of its sources as files since they
# are private and #include's (including .c file).
#
lib{studxml}: \
details/expat/h{ expat } \
details/expat/h{ expat_external } \
details/expat/c{ xmlparse } \
details/expat/c{ xmlrole } \
details/expat/c{ xmltok } \
details/expat/file{ ascii.h asciitab.h config.h iasciitab.h internal.h \
latin1tab.h nametab.h utf8tab.h xmlrole.h xmltok.h xmltok_impl.c \
xmltok_impl.h xmltok_ns.c} \
details/expat/doc{LICENSE README}
details/expat/doc{README}@./: install = false
details/expat/doc{LICENSE}@./: install = doc/EXPAT-LICENSE
# Genx.
#
lib{studxml}: \
details/genx/c{ char-props } \
details/genx/c{ genx } \
details/genx/h{ genx } \
details/genx/doc{LICENSE README}
details/genx/doc{README}@./: install = false
details/genx/doc{LICENSE}@./: install = doc/GENX-LICENSE
# For pre-releases use the complete version to make sure they cannot be used
# in place of another pre-release or the final version.
#
if $abi_prerelease
lib{studxml}: bin.lib.version = @-$version
else
lib{studxml}: bin.lib.version = @-$abi_major.$abi_minor
# We are a mixed C/C++ library, though C is implementatio-only, kind of: we
# need headers but not symbols.
#
cc.poptions =+ "-I$src_root" -DLIBSTUDXML_BUILD2
obja{*}: cc.poptions += -DLIBSTUDXML_STATIC_BUILD
objs{*}: cc.poptions += -DLIBSTUDXML_SHARED_BUILD
lib{studxml}: cc.export.poptions = "-I$src_root" -DLIBSTUDXML_BUILD2
liba{studxml}: cc.export.poptions += -DLIBSTUDXML_STATIC
libs{studxml}: cc.export.poptions += -DLIBSTUDXML_SHARED
# Install into the xml/ subdirectory of, say, /usr/include/. Bold, I know.
#
install.include = $install.include/xml/
install.include.subdirs = true # Recreate subdirectories.
# We want these to be picked up even when LIBSTUDXML_BUILD2 is not defined.
#
details/build2/:
{
if ($cxx.id == "msvc")
{
h{config}@./: install = false
h{config-vc}@./: install = $install.include/details/
}
else
{
h{config}@./: install = $install.include/details/
h{config-vc}@./: install = false
}
}

View File

@ -1,20 +0,0 @@
/* file : xml/details/build2/config-vc.h
* copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
* license : MIT; see accompanying LICENSE file
*/
/* Configuration file for Windows/VC++ for the build2 build. */
#ifndef XML_DETAILS_CONFIG_VC_H
#define XML_DETAILS_CONFIG_VC_H
/* Define LIBSTUDXML_BUILD2 for the installed case. */
#ifndef LIBSTUDXML_BUILD2
# define LIBSTUDXML_BUILD2
#endif
// Always little-endian, at least on i686 and x86_64.
//
#define LIBSTUDXML_BYTEORDER 1234
#endif /* XML_DETAILS_CONFIG_VC_H */

View File

@ -1,14 +0,0 @@
/* file : xml/details/config-vc.h
* copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
* license : MIT; see accompanying LICENSE file
*/
/* Configuration file for Windows/VC++. */
#ifndef XML_DETAILS_CONFIG_VC_H
#define XML_DETAILS_CONFIG_VC_H
#define LIBSTUDXML_BYTEORDER 1234
#define LIBSTUDXML_STATIC_LIB 1
#endif /* XML_DETAILS_CONFIG_VC_H */

View File

@ -1,13 +0,0 @@
/* file : xml/details/config.h.in
* copyright : Copyright (c) 2013-2014 Code Synthesis Tools CC
* license : MIT; see accompanying LICENSE file
*/
/* This file is automatically processed by configure. */
#ifndef XML_DETAILS_CONFIG_H
#define XML_DETAILS_CONFIG_H
#define LIBSTUDXML_STATIC_LIB 1
#endif /* XML_DETAILS_CONFIG_H */

View File

@ -1,15 +0,0 @@
/* file : xml/details/config.h.in
* copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
* license : MIT; see accompanying LICENSE file
*/
/* This file is automatically processed by configure. */
#ifndef XML_DETAILS_CONFIG_H
#define XML_DETAILS_CONFIG_H
#undef LIBSTUDXML_STATIC_LIB
#undef LIBSTUDXML_EXTERNAL_EXPAT
#undef LIBSTUDXML_BYTEORDER
#endif /* XML_DETAILS_CONFIG_H */

View File

@ -1,7 +0,0 @@
// file : xml/details/post.hxx
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifdef _MSC_VER
# pragma warning (pop)
#endif

View File

@ -1,19 +0,0 @@
// file : xml/exception -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_EXCEPTION
#define XML_EXCEPTION
#include <xml/details/pre.hxx>
#include <exception>
namespace xml
{
class exception: public std::exception {};
}
#include <xml/details/post.hxx>
#endif // XML_EXCEPTION

View File

@ -1,22 +0,0 @@
// file : xml/forward -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef XML_FORWARD
#define XML_FORWARD
#include <xml/details/pre.hxx>
#include <xml/version>
namespace xml
{
class qname;
class parser;
class serializer;
class exception;
}
#include <xml/details/post.hxx>
#endif // XML_FORWARD

View File

@ -1,175 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{DCFCED35-A6E4-4554-948D-4A5E982D6824}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>libstudxml</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\</OutDir>
<TargetName>studxml-d-__value__(interface_version)-vc10</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin64\</OutDir>
<TargetName>studxml-d-__value__(interface_version)-vc10</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\</OutDir>
<TargetName>studxml-__value__(interface_version)-vc10</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin64\</OutDir>
<TargetName>studxml-__value__(interface_version)-vc10</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib\studxml-d.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib64\studxml-d.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib\studxml.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib64\studxml.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
__header_entries__(headers)
__header_entries__(expat_headers)
__header_entries__(genx_headers)
__header_entry__(details\config-vc.h)
</ItemGroup>
<ItemGroup>
__source_entries__(sources)
__source_entries__(expat_sources)
__source_entries__(genx_sources)
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{51AEF41C-865B-40D5-89C8-151CE797B6C4}</UniqueIdentifier>
<Extensions>c;cxx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{06415D1D-41F6-4BA3-A026-126239CCD920}</UniqueIdentifier>
<Extensions>h;hxx;ixx;txx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
__header_filter_entries__(headers)
__header_filter_entries__(expat_headers)
__header_filter_entries__(genx_headers)
__header_filter_entry__(details\config-vc.h)
</ItemGroup>
<ItemGroup>
__source_filter_entries__(sources)
__source_filter_entries__(expat_sources)
__source_filter_entries__(genx_sources)
</ItemGroup>
</Project>

View File

@ -1,179 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{518885FE-EDEC-494D-A3FA-CBEAC9A7FCBB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>libstudxml</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\</OutDir>
<TargetName>studxml-d-__value__(interface_version)-vc11</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin64\</OutDir>
<TargetName>studxml-d-__value__(interface_version)-vc11</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\</OutDir>
<TargetName>studxml-__value__(interface_version)-vc11</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin64\</OutDir>
<TargetName>studxml-__value__(interface_version)-vc11</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib\studxml-d.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib64\studxml-d.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib\studxml.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib64\studxml.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
__header_entries__(headers)
__header_entries__(expat_headers)
__header_entries__(genx_headers)
__header_entry__(details\config-vc.h)
</ItemGroup>
<ItemGroup>
__source_entries__(sources)
__source_entries__(expat_sources)
__source_entries__(genx_sources)
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{8EC23642-5CC3-4086-92C9-AE14E512CA6C}</UniqueIdentifier>
<Extensions>c;cxx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{8CB2105E-BD73-4B1B-8DCE-E1FCB9B4D894}</UniqueIdentifier>
<Extensions>h;hxx;ixx;txx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
__header_filter_entries__(headers)
__header_filter_entries__(expat_headers)
__header_filter_entries__(genx_headers)
__header_filter_entry__(details\config-vc.h)
</ItemGroup>
<ItemGroup>
__source_filter_entries__(sources)
__source_filter_entries__(expat_sources)
__source_filter_entries__(genx_sources)
</ItemGroup>
</Project>

View File

@ -1,179 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{26482FB9-45CC-4188-8CA1-B86456967F47}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>libstudxml</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\</OutDir>
<TargetName>studxml-d-__value__(interface_version)-vc12</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin64\</OutDir>
<TargetName>studxml-d-__value__(interface_version)-vc12</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\</OutDir>
<TargetName>studxml-__value__(interface_version)-vc12</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin64\</OutDir>
<TargetName>studxml-__value__(interface_version)-vc12</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib\studxml-d.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib64\studxml-d.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib\studxml.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4355;4800;4290;4251;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>$(TargetPath)</OutputFile>
<ImportLibrary>..\lib64\studxml.lib</ImportLibrary>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
__header_entries__(headers)
__header_entries__(expat_headers)
__header_entries__(genx_headers)
__header_entry__(details\config-vc.h)
</ItemGroup>
<ItemGroup>
__source_entries__(sources)
__source_entries__(expat_sources)
__source_entries__(genx_sources)
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{B3C787E6-B23A-41BB-BF39-DFD42DEE8FDA}</UniqueIdentifier>
<Extensions>c;cxx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{90BC2EB8-E1F4-4ADA-AD98-FB8727184CAA}</UniqueIdentifier>
<Extensions>h;hxx;ixx;txx</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
__header_filter_entries__(headers)
__header_filter_entries__(expat_headers)
__header_filter_entries__(genx_headers)
__header_filter_entry__(details\config-vc.h)
</ItemGroup>
<ItemGroup>
__source_filter_entries__(sources)
__source_filter_entries__(expat_sources)
__source_filter_entries__(genx_sources)
</ItemGroup>
</Project>

View File

@ -1,360 +0,0 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="libstudxml"
ProjectGUID="{93C99089-F2BB-4D66-9166-78002EC65C51}"
RootNamespace="libstudxml"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory=".."
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4251"
Optimization="0"
AdditionalIncludeDirectories=".."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="if not exist ..\lib mkdir ..\lib"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\bin\studxml-d-__value__(interface_version)-vc9.dll"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
ImportLibrary="$(OutDir)\lib\studxml-d.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory=".."
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4251"
Optimization="0"
AdditionalIncludeDirectories=".."
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="if not exist ..\lib64 mkdir ..\lib64"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\bin64\studxml-d-__value__(interface_version)-vc9.dll"
LinkIncremental="2"
GenerateDebugInformation="true"
SubSystem="2"
ImportLibrary="$(OutDir)\lib64\studxml-d.lib"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory=".."
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4251"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories=".."
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="if not exist ..\lib mkdir ..\lib"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\bin\studxml-__value__(interface_version)-vc9.dll"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)\lib\studxml.lib"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory=".."
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
ConfigurationType="2"
CharacterSet="1"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4251"
Optimization="2"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories=".."
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;LIBSTUDXML_DYNAMIC_LIB"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
CommandLine="if not exist ..\lib64 mkdir ..\lib64"
/>
<Tool
Name="VCLinkerTool"
OutputFile="$(OutDir)\bin64\studxml-__value__(interface_version)-vc9.dll"
LinkIncremental="1"
GenerateDebugInformation="true"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
ImportLibrary="$(OutDir)\lib64\studxml.lib"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="c;cxx"
UniqueIdentifier="{2FE3A731-FA99-4FE0-825D-3F4717553036}"
>
__source_entries__(sources)
__source_entries__(expat_sources)
__source_entries__(genx_sources)
</Filter>
<Filter
Name="Header Files"
Filter="h;hxx;ixx;txx"
UniqueIdentifier="{AD522A4F-C6D9-4F13-9DE6-1BAF4FEA1C88}"
>
__file_entries__(headers)
__file_entries__(expat_headers)
__file_entries__(genx_headers)
__file_entry__(details\config-vc.h)
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@ -1,143 +0,0 @@
# file : xml/makefile
# copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
sources := qname.cxx parser.cxx serializer.cxx value-traits.cxx
xml_headers := content exception forward qname parser serializer value-traits \
version
# Expat.
#
expat_sources := xmlparse.c xmlrole.c xmltok.c
expat_headers := expat.h expat_external.h
expat_dist := ascii.h asciitab.h config.h iasciitab.h internal.h \
latin1tab.h nametab.h utf8tab.h xmlrole.h xmltok.h xmltok_impl.c \
xmltok_impl.h xmltok_ns.c README LICENSE
expat_sources := $(addprefix details/expat/,$(expat_sources))
expat_headers := $(addprefix details/expat/,$(expat_headers))
expat_dist := $(addprefix details/expat/,$(expat_dist))
# Genx.
#
genx_sources := details/genx/genx.c details/genx/char-props.c
genx_headers := details/genx/genx.h
genx_dist := details/genx/README details/genx/LICENSE
c_tun := $(expat_sources) $(genx_sources)
c_obj := $(addprefix $(out_base)/,$(c_tun:.c=.o))
c_od := $(c_obj:.o=.o.d)
cxx_tun := $(sources)
cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o))
cxx_od := $(cxx_obj:.o=.o.d)
studxml.l := $(out_base)/studxml.l
studxml.l.cpp-options := $(out_base)/studxml.l.cpp-options
default := $(out_base)/
dist := $(out_base)/.dist
install := $(out_base)/.install
clean := $(out_base)/.clean
# Build.
#
$(studxml.l): $(c_obj) $(cxx_obj)
$(c_obj) $(cxx_obj) $(c_od) $(cxx_od): $(studxml.l.cpp-options) \
$(out_base)/details/config.h
$(studxml.l.cpp-options): value := -I$(out_root) -I$(src_root)
$(call include,$(bld_root)/ld/configuration-lib.make) # ld_lib_type
$(out_base)/details/config.h: | $(out_base)/details/.
@echo '/* file : xml/details/config.h' >$@
@echo ' * note : automatically generated' >>$@
@echo ' */' >>$@
@echo '#ifndef XML_DETAILS_CONFIG_H' >>$@
@echo '#define XML_DETAILS_CONFIG_H' >>$@
@echo '' >>$@
@echo '#define LIBSTUDXML_BYTEORDER 1234' >>$@
ifeq ($(ld_lib_type),archive)
@echo '#define LIBSTUDXML_STATIC_LIB' >>$@
endif
@echo '' >>$@
@echo '#endif /* XML_DETAILS_CONFIG_H */' >>$@
$(call include-dep,$(c_od) $(cxx_od),$(c_obj) $(cxx_obj),$(out_base)/details/config.h)
# Convenience alias for default target.
#
$(out_base)/: $(studxml.l)
# Dist.
#
# Set it for the out_root so that it is visible in examples/tests. See
# Makefile.am for why we need it there.
#
$(our_root)/%.dist: export xml_headers := $(xml_headers)
$(dist): export sources := $(sources)
$(dist): export expat_sources := $(expat_sources)
$(dist): export expat_headers := $(expat_headers)
$(dist): export genx_sources := $(genx_sources)
$(dist): export genx_headers := $(genx_headers)
$(dist): export headers := $(subst $(src_base)/,,$(shell find $(src_base) \
-name '*.hxx' -o -name '*.ixx' -o -name '*.txx'))
$(dist): data_dist := details/config-vc.h $(expat_dist) $(genx_dist)
$(dist): export extra_dist := $(data_dist) libstudxml-vc9.vcproj \
libstudxml-vc10.vcxproj libstudxml-vc10.vcxproj.filters \
libstudxml-vc11.vcxproj libstudxml-vc11.vcxproj.filters \
libstudxml-vc12.vcxproj libstudxml-vc12.vcxproj.filters
$(dist): export interface_version = $(shell sed -e \
's/^\([0-9]*\.[0-9]*\).*/\1/' $(src_root)/version)
$(dist):
$(call dist-data,$(sources) $(expat_sources) $(genx_sources))
$(call dist-data,$(headers) $(xml_headers) $(expat_headers) $(genx_headers))
$(call dist-data,$(data_dist) details/config.h.in)
$(call meta-vc9proj,libstudxml-vc9.vcproj)
$(call meta-vc10proj,libstudxml-vc10.vcxproj)
$(call meta-vc10proj,libstudxml-vc11.vcxproj)
$(call meta-vc12proj,libstudxml-vc12.vcxproj)
$(call meta-automake)
# Clean.
#
$(clean): $(studxml.l).o.clean \
$(studxml.l.cpp-options).clean \
$(addsuffix .cxx.clean,$(c_obj)) \
$(addsuffix .cxx.clean,$(c_od)) \
$(addsuffix .cxx.clean,$(cxx_obj)) \
$(addsuffix .cxx.clean,$(cxx_od))
$(call message,rm $$1,rm -f $$1,$(out_base)/details/config.h)
# Generated .gitignore.
#
ifeq ($(out_base),$(src_base))
$(studxml.l): | $(out_base)/.gitignore
$(out_base)/.gitignore: files := details/config.h
$(clean): $(out_base)/.gitignore.clean
$(call include,$(bld_root)/git/gitignore.make)
endif
# How to.
#
$(call include,$(bld_root)/dist.make)
$(call include,$(bld_root)/install.make)
$(call include,$(bld_root)/meta/vc9proj.make)
$(call include,$(bld_root)/meta/vc10proj.make)
$(call include,$(bld_root)/meta/vc11proj.make)
$(call include,$(bld_root)/meta/vc12proj.make)
$(call include,$(bld_root)/meta/automake.make)
$(call include,$(bld_root)/c/c-o.make)
$(call include,$(bld_root)/c/c-d.make)
$(call include,$(bld_root)/cxx/cxx-o.make)
$(call include,$(bld_root)/cxx/cxx-d.make)
$(call include,$(bld_root)/cxx/o-l.make)

View File

@ -1,27 +0,0 @@
// file : xml/version -*- C++ -*-
// copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
#ifndef LIBSTUDXML_VERSION // Note: using the version macro itself.
// Version format is AABBCCDD where
//
// AA - major version number
// BB - minor version number
// CC - bugfix version number
// DD - alpha / beta (DD + 50) version number
//
// When DD is not 00, 1 is subtracted from AABBCC. For example:
//
// Version AABBCCDD
// 2.0.0 02000000
// 2.1.0 02010000
// 2.1.1 02010100
// 2.2.0-a1 02019901
// 3.0.0-b2 02999952
//
#define LIBSTUDXML_VERSION 1009905
#define LIBSTUDXML_VERSION_STR "1.1.0-a5"
#endif // LIBSTUDXML_VERSION