getml / reflect-cpp

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]
https://getml.github.io/reflect-cpp/
MIT License
821 stars 65 forks source link

Add cmake config module #77

Closed hlewin closed 3 months ago

hlewin commented 3 months ago

This makes reflectcpp installable by cmake and adds a config module, so that it can be used like any other cmake package

find_package(reflectcpp REQUIRED)

target_link_libraries(MY_TARGET reflectcpp::reflectcpp)
liuzicheng1987 commented 3 months ago

Again, thank you so much!