summaryrefslogtreecommitdiff
path: root/contrib/header_only.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/header_only.hpp')
-rw-r--r--contrib/header_only.hpp19
1 files changed, 19 insertions, 0 deletions
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