Bumped version to 0.20.0 (#477)

This commit is contained in:
Dr. Patrick Urbanke (劉自成)
2025-08-06 23:05:02 +02:00
committed by GitHub
parent a6b74370bc
commit f36b136bb0
3 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ if (REFLECTCPP_USE_VCPKG)
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file")
endif ()
project(reflectcpp VERSION 0.19.0 LANGUAGES CXX)
project(reflectcpp VERSION 0.20.0 LANGUAGES CXX)
if (PROJECT_IS_TOP_LEVEL)
set(REFLECTCPP_INSTALL ON)
+17 -2
View File
@@ -563,9 +563,24 @@ cmake --build build -j 4 # gcc, clang
cmake --build build --config Release -j 4 # MSVC
```
If you need support for any other supported [serialization formats](#serialization-formats), refer to the [documentation](https://rfl.getml.com/docs-readme) for installation instructions.
To install all supported serialization formats, first install vcpkg:
You can also [include the source files](https://rfl.getml.com/install/#option-1-include-source-files-into-your-own-build) into your build or compile it using [cmake and vcpkg.](https://rfl.getml.com/install/#option-3-compilation-using-cmake-and-vcpkg) For detailed installation instructions, please refer to the [install guide](https://rfl.getml.com/install).
```bash
git submodule update --init
./vcpkg/bootstrap-vcpkg.sh # Linux, macOS
./vcpkg/bootstrap-vcpkg.bat # Windows
# You may be prompted to install additional dependencies.
```
Then, compile the library:
```bash
cmake -S . -B build -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release -DREFLECTCPP_ALL_FORMATS=ON
cmake --build build -j 4 # gcc, clang
cmake --build build --config Release -j 4 # MSVC
```
For other installation methods, refer to the [documentation](https://rfl.getml.com/docs-readme).
## The team behind reflect-cpp
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "reflectcpp",
"version-string": "0.19.0",
"version-string": "0.20.0",
"builtin-baseline": "cd124b84feb0c02a24a2d90981e8358fdee0e077",
"dependencies": [
{