diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-11 12:47:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-11 20:23:08 +0300 |
commit | 2ebf9de408f3fd629126a20b21221e186195813c (patch) | |
tree | a745c1e01050eb65abde693b4e75fc5159d005d6 /web | |
parent | 951b7a4d3dc63fbf71059c7a3fc0bcec3c393fbe (diff) |
Add libstudxml version check
Diffstat (limited to 'web')
-rw-r--r-- | web/.gitignore | 1 | ||||
-rw-r--r-- | web/version.hxx.in | 12 | ||||
-rw-r--r-- | web/xhtml.hxx | 2 |
3 files changed, 15 insertions, 0 deletions
diff --git a/web/.gitignore b/web/.gitignore new file mode 100644 index 0000000..426db9e --- /dev/null +++ b/web/.gitignore @@ -0,0 +1 @@ +version.hxx diff --git a/web/version.hxx.in b/web/version.hxx.in new file mode 100644 index 0000000..90bbaa6 --- /dev/null +++ b/web/version.hxx.in @@ -0,0 +1,12 @@ +// file : web/version.hxx.in -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef WEB_VERSION_HXX_IN +#define WEB_VERSION_HXX_IN + +#include <libstudxml/version.hxx> + +$libstudxml.check(LIBSTUDXML_VERSION, LIBSTUDXML_SNAPSHOT)$ + +#endif // WEB_VERSION_HXX_IN diff --git a/web/xhtml.hxx b/web/xhtml.hxx index 878c255..b9ccff3 100644 --- a/web/xhtml.hxx +++ b/web/xhtml.hxx @@ -7,6 +7,8 @@ #include <libstudxml/serializer.hxx> +#include <web/version.hxx> + namespace web { // "Canonical" XHTML5 vocabulary. |