You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,61 @@
1
+
[TOC]
2
+
1
3
# C++ json2xml converter
2
4
3
5
C++ header-only converter from Json to XML.
4
6
Include [json2xml.hpp](include/ert/json2xml.hpp) into your project.
7
+
See more at Integration.
5
8
6
9
CICD tested with [Codefresh](https://codefresh.io/).
7
10
11
+
## Integration
12
+
13
+
[`json2xml.hpp`](https://github.com/testillano/json2xml/blob/master/include/ert/json2xml.hpp) is the single required file in `include/ert` or [released here](https://github.com/testillano/json2xml/releases). You need to add
14
+
15
+
```cpp
16
+
#include<ert/json2xml.hpp>
17
+
```
18
+
19
+
### CMake
20
+
21
+
#### Embedded
22
+
23
+
To embed the library directly into an existing CMake project, place the entire source tree in a subdirectory and call `add_subdirectory()` in your `CMakeLists.txt` file:
24
+
25
+
```cmake
26
+
# Typically you don't care so much for a third party library's examples to be
[FetchContent](https://cmake.org/cmake/help/v3.11/module/FetchContent.html) can be used to automatically download the repository as a dependency at configure type.
0 commit comments