4 Commits

Author SHA1 Message Date
Ben Clayton
6d6cbf17d7 Add support for rapidjson as the JSON library
nlohmann is still the default, but if `CPPDAP_JSON_DIR` points to rapidjson, then this will be used instead

Most of this was upstreamed from:
https://fuchsia-review.googlesource.com/c/third_party/github.com/google/cppdap/+/456566
2020-12-02 17:44:24 +00:00
Ben Clayton
7b02b9f73a Add dap::initialize() and terminate() functions
Can be used to explicitly control when the TypeInfo static initializers / destructors are called.
Usually not needed.

Issue: #40
2020-06-22 19:51:39 +01:00
Ben Clayton
c9630a9aee TypeOf: Move Move TypeInfos to anon namespace
Instead of constructing them as static fields.
Slightly less cludgy.

Related issue: #40
2020-06-15 15:28:07 +01:00
Ben Clayton
2dfd15462f Initial drop of cppdap 2019-11-08 21:58:50 +00:00