mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 00:26:19 +08:00
Bumped version to 0.20.0 (#477)
This commit is contained in:
+1
-1
@@ -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")
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake CACHE STRING "Vcpkg toolchain file")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
project(reflectcpp VERSION 0.19.0 LANGUAGES CXX)
|
project(reflectcpp VERSION 0.20.0 LANGUAGES CXX)
|
||||||
|
|
||||||
if (PROJECT_IS_TOP_LEVEL)
|
if (PROJECT_IS_TOP_LEVEL)
|
||||||
set(REFLECTCPP_INSTALL ON)
|
set(REFLECTCPP_INSTALL ON)
|
||||||
|
|||||||
@@ -563,9 +563,24 @@ cmake --build build -j 4 # gcc, clang
|
|||||||
cmake --build build --config Release -j 4 # MSVC
|
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
|
## The team behind reflect-cpp
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "reflectcpp",
|
"name": "reflectcpp",
|
||||||
"version-string": "0.19.0",
|
"version-string": "0.20.0",
|
||||||
"builtin-baseline": "cd124b84feb0c02a24a2d90981e8358fdee0e077",
|
"builtin-baseline": "cd124b84feb0c02a24a2d90981e8358fdee0e077",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user