summaryrefslogtreecommitdiff
path: root/src/pugiconfig.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-14 03:08:01 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-14 03:08:01 +0000
commit2f6baa1005bdd5f94d22ce7270237d5f45120f71 (patch)
tree7d2581d6a57dc3bb599b57f1b4118681f3d3f4c4 /src/pugiconfig.hpp
parent7df35dabd5c64b128eed25138c85e2cef2ad675e (diff)
Implemented optional header-only mode (still need to do a couple of fixes for rare compilers, but it seems to work on the majority of configurations). Tests work in header-only mode, but testing is not enabled yet (still a bit more work to be done, and compiling header-only tests is up to 4 times slower, so we can't test more than one-two configurations per toolset)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@855 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugiconfig.hpp')
-rw-r--r--src/pugiconfig.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pugiconfig.hpp b/src/pugiconfig.hpp
index de60816..a5e96a3 100644
--- a/src/pugiconfig.hpp
+++ b/src/pugiconfig.hpp
@@ -32,6 +32,10 @@
// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
+// Header-only version
+// #define PUGIXML_HEADER_ONLY
+// #include "pugixml.cpp"
+
#endif
/**