mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
feat: add examples
This commit is contained in:
13
examples/reflect/README.md
Normal file
13
examples/reflect/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# reflect
|
||||
|
||||
Auto convert from user-defined `struct`s to `toml::value`.
|
||||
|
||||
It depends on [boost-ext/reflect](https://github.com/boost-ext/reflect).
|
||||
|
||||
## build
|
||||
|
||||
Build toml11 with `-DTOML11_BUILD_EXAMPLES=ON`.
|
||||
|
||||
```cpp
|
||||
$ cmake -B ./build/ -DTOML11_BUILD_EXAMPLES=ON
|
||||
```
|
||||
Reference in New Issue
Block a user