mirror of
https://github.com/zeux/pugixml.git
synced 2025-01-14 18:07:59 +08:00
contrib: Added header-only version example
git-svn-id: http://pugixml.googlecode.com/svn/trunk@245 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
88865fc911
commit
333ad80a15
19
contrib/header-only.hpp
Normal file
19
contrib/header-only.hpp
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user