Provide tools for creating an amalgamation header

This commit is contained in:
Denis Blank 2018-03-12 16:34:18 +01:00
parent 977feb3825
commit 0e4b299b45
5 changed files with 23 additions and 1 deletions

View File

@ -120,6 +120,13 @@ and might be installed from there.
to make it available from various package managers in order to to make it available from various package managers in order to
make the installation easier. make the installation easier.
\subsection installation-installation-amalgamation By using the amalgamation header
For major versions there is an amalgamation header provided which can be
included without any dependency:
- [3.0.0](https://gist.githubusercontent.com/Naios/b128ab5028a7eb33e4285c0293573d9f/raw/79fe332964a786b21a8661ef65d07a5669260a3c/continuable.hpp)
\subsection installation-installation-copy By copying the headers \subsection installation-installation-copy By copying the headers
If you don't want to rely on CMake or package managers it is possible to If you don't want to rely on CMake or package managers it is possible to

1
tools/amalgamate/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
continuable.hpp

View File

@ -0,0 +1,2 @@
/// This is an automatic generated amalgamation of:
/// continuable version 3.0.0 (d30814c2ff001)

View File

@ -0,0 +1,11 @@
{
"project":"continuable",
"target":"continuable.hpp",
"sources":[
"include/continuable/continuable.hpp"
],
"include_paths":[
"include",
"dep/function2/function2/include"
]
}

View File

@ -0,0 +1 @@
../../../amalgamate/amalgamate.py --config=amalgamate.json --prologue=amalgamate.hpp.prologue --source=../..