Skip to content

Commit f36b136

Browse files
Bumped version to 0.20.0 (#477)
1 parent a6b7437 commit f36b136

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ if (REFLECTCPP_USE_VCPKG)
128128
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file")
129129
endif ()
130130

131-
project(reflectcpp VERSION 0.19.0 LANGUAGES CXX)
131+
project(reflectcpp VERSION 0.20.0 LANGUAGES CXX)
132132

133133
if (PROJECT_IS_TOP_LEVEL)
134134
set(REFLECTCPP_INSTALL ON)

README.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,9 +563,24 @@ cmake --build build -j 4 # gcc, clang
563563
cmake --build build --config Release -j 4 # MSVC
564564
```
565565

566-
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.
566+
To install all supported serialization formats, first install vcpkg:
567567

568-
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).
568+
```bash
569+
git submodule update --init
570+
./vcpkg/bootstrap-vcpkg.sh # Linux, macOS
571+
./vcpkg/bootstrap-vcpkg.bat # Windows
572+
# You may be prompted to install additional dependencies.
573+
```
574+
575+
Then, compile the library:
576+
577+
```bash
578+
cmake -S . -B build -DCMAKE_CXX_STANDARD=20 -DCMAKE_BUILD_TYPE=Release -DREFLECTCPP_ALL_FORMATS=ON
579+
cmake --build build -j 4 # gcc, clang
580+
cmake --build build --config Release -j 4 # MSVC
581+
```
582+
583+
For other installation methods, refer to the [documentation](https://rfl.getml.com/docs-readme).
569584

570585
## The team behind reflect-cpp
571586

vcpkg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reflectcpp",
3-
"version-string": "0.19.0",
3+
"version-string": "0.20.0",
44
"builtin-baseline": "cd124b84feb0c02a24a2d90981e8358fdee0e077",
55
"dependencies": [
66
{

0 commit comments

Comments
 (0)