diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-31 06:55:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-31 07:17:12 +0200 |
commit | 26aadd17ab7cf9b093b64ffc696d317b127e181d (patch) | |
tree | bb383ae179d3034a57a7ab38cadee73489ad98cc | |
parent | d9c0f47a6407a0b793f2a4fa899d3608109fa8de (diff) |
Add xml/version header
-rw-r--r-- | xml/forward | 2 | ||||
-rw-r--r-- | xml/makefile | 3 | ||||
-rw-r--r-- | xml/version | 26 |
3 files changed, 30 insertions, 1 deletions
diff --git a/xml/forward b/xml/forward index 8d474c7..ceefdbe 100644 --- a/xml/forward +++ b/xml/forward @@ -7,6 +7,8 @@ #include <xml/details/pre.hxx> +#include <xml/version> + namespace xml { class qname; diff --git a/xml/makefile b/xml/makefile index 52203aa..3890d87 100644 --- a/xml/makefile +++ b/xml/makefile @@ -5,7 +5,8 @@ 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 +xml_headers := content exception forward qname parser serializer value-traits \ +version # Expat. # diff --git a/xml/version b/xml/version new file mode 100644 index 0000000..f452319 --- /dev/null +++ b/xml/version @@ -0,0 +1,26 @@ +// file : xml/version -*- C++ -*- +// copyright : Copyright (c) 2013-2014 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 1009904 +#define LIBSTUDXML_VERSION_STR "1.1.0-a4" + +#endif // LIBSTUDXML_VERSION |