Skip to content

Commit 8e4fbdc

Browse files
committed
Added single include generation
1 parent 2027a5e commit 8e4fbdc

File tree

8 files changed

+2330
-0
lines changed

8 files changed

+2330
-0
lines changed

Diff for: README.md

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* [CSV Writer](#csv-writer)
1111
* [Writer API](#writer-api)
1212
* [Compiling Tests](#compiling-tests)
13+
* [Generating Single Header](#generating-single-header)
1314
* [Contributing](#contributing)
1415
* [License](#license)
1516

@@ -190,6 +191,12 @@ cd test
190191
./csv2_test
191192
```
192193

194+
## Generating Single Header
195+
196+
```bash
197+
python3 utils/amalgamate/amalgamate.py -c single_include.json -s .
198+
```
199+
193200
## Contributing
194201
Contributions are welcome, have a look at the [CONTRIBUTING.md](CONTRIBUTING.md) document for more information.
195202

Diff for: single_include.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"project": "CSV for Modern C++",
3+
"target": "single_include/csv2/csv2.hpp",
4+
"sources": [
5+
"include/csv2/mio.hpp",
6+
"include/csv2/parameters.hpp",
7+
"include/csv2/reader.hpp",
8+
"include/csv2/writer.hpp"
9+
],
10+
"include_paths": ["include"]
11+
}

0 commit comments

Comments
 (0)