From 333ad80a15f9829b388a98f222198ce2dab7892c Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 2 Feb 2010 20:58:38 +0000 Subject: contrib: Added header-only version example git-svn-id: http://pugixml.googlecode.com/svn/trunk@245 99668b35-9821-0410-8761-19e4c4f06640 --- contrib/header-only.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 contrib/header-only.hpp (limited to 'contrib') diff --git a/contrib/header-only.hpp b/contrib/header-only.hpp new file mode 100644 index 0000000..1af8d4c --- /dev/null +++ b/contrib/header-only.hpp @@ -0,0 +1,19 @@ +/* + * Header-only variant of pugixml. + * This file is provided to the public domain. + * Written by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) + */ + +#ifndef HEADER_PUGIXML_HEADER_ONLY_HPP +#define HEADER_PUGIXML_HEADER_ONLY_HPP + +/* + * This file provides a header-only variant of pugixml. + * This is generally not recommended because of resulting code bloat/increased link time/conflicts with local symbols, + * so use it with caution. + */ + +#include "pugixml.cpp" +#include "pugixpath.cpp" + +#endif -- cgit v1.2.3