Change back to tomlplusplus (#401)

For a long time, tomlplusplus did generate a config.cmake file, which made it difficult to use on vcpkg. As a fix, we switched to toml11.

But this has now finally been added to vcpkg, and since tomlplusplus is faster than toml11 in terms of compile time and runtime, we are changing back.
This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-04-08 13:59:24 +08:00
committed by GitHub
parent 0530379830
commit d73d98f1c8
12 changed files with 83 additions and 85 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# TOML
For TOML support, you must also include the header `<rfl/toml.hpp>` and include the [toml11](https://github.com/ToruNiina/toml11) library.
For TOML support, you must also include the header `<rfl/toml.hpp>` and include the [toml++](https://github.com/marzer/tomlplusplus) library.
Furthermore, when compiling reflect-cpp, you need to pass `-DREFLECTCPP_TOML=ON` to cmake. If you are using vcpkg or Conan, there
should be an appropriate feature (vcpkg) or option (Conan) that will abstract this away for you.