From f36b136bb04ecdbc2d8dc353e422d3350f11f890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Patrick=20Urbanke=20=28=E5=8A=89=E8=87=AA=E6=88=90?= =?UTF-8?q?=29?= Date: Wed, 6 Aug 2025 23:05:02 +0200 Subject: [PATCH] Bumped version to 0.20.0 (#477) --- CMakeLists.txt | 2 +- README.md | 19 +++++++++++++++++-- vcpkg.json | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d092f8f..ac3eec0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/README.md b/README.md index a5404c02..68b09aeb 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/vcpkg.json b/vcpkg.json index b623c34b..a5f9546c 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "reflectcpp", - "version-string": "0.19.0", + "version-string": "0.20.0", "builtin-baseline": "cd124b84feb0c02a24a2d90981e8358fdee0e077", "dependencies": [ {