danielaparker / jsoncons

A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
https://danielaparker.github.io/jsoncons
Other
699 stars 158 forks source link

Add examples to CMakeLists #452

Open MonkeybreadSoftware opened 11 months ago

MonkeybreadSoftware commented 11 months ago

When building with cmake, please not just do unit tests, but also build all examples to check if they compile.

MonkeybreadSoftware commented 11 months ago

And this could maybe also run a few examples, redirect output in a text file. And you could include the checked text files for comparison. This way a bug in the library may show up as output changes.