A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
BUILD_SHARED_LIBS is the standard cmake variable to indicate if output should be shared libraries, so this should be used to streamline standalone builds. To not break existing integrations and to make inclusion (eg as submodule) easier this patch leaves REFLECTCPP_BUILD_SHARED in place but default-initializes it with the value of BUILD_SHARED_LIBS.
BUILD_SHARED_LIBS
is the standard cmake variable to indicate if output should be shared libraries, so this should be used to streamline standalone builds. To not break existing integrations and to make inclusion (eg as submodule) easier this patch leavesREFLECTCPP_BUILD_SHARED
in place but default-initializes it with the value ofBUILD_SHARED_LIBS
.