Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,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.24.0 LANGUAGES CXX)
project(reflectcpp VERSION 0.25.0 LANGUAGES CXX)

find_package(ament_cmake QUIET)

Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>reflectcpp</name>
<version>0.23.0</version>
<version>0.25.0</version>
Comment thread
liuzicheng1987 marked this conversation as resolved.
<description>C++ reflection library</description>
<maintainer email="liuzicheng1987@example.com">liuzicheng1987</maintainer>
<license>MIT</license>
Expand Down
12 changes: 11 additions & 1 deletion reflectcpp-config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@PACKAGE_INIT@

set(REFLECTCPP_JSON @REFLECTCPP_JSON@)
set(REFLECTCPP_BOOST_SERIALIZATION @REFLECTCPP_BOOST_SERIALIZATION@)
set(REFLECTCPP_BSON @REFLECTCPP_BSON@)
set(REFLECTCPP_CAPNPROTO @REFLECTCPP_CAPNPROTO@)
set(REFLECTCPP_CBOR @REFLECTCPP_CBOR@)
Expand All @@ -13,9 +14,10 @@ set(REFLECTCPP_TOML @REFLECTCPP_TOML@)
set(REFLECTCPP_UBJSON @REFLECTCPP_UBJSON@)
set(REFLECTCPP_XML @REFLECTCPP_XML@)
set(REFLECTCPP_YAML @REFLECTCPP_YAML@)
set(REFLECTCPP_YAS @REFLECTCPP_YAS@)
set(REFLECTCPP_USE_BUNDLED_DEPENDENCIES @REFLECTCPP_USE_BUNDLED_DEPENDENCIES@)

if(REFLECTCPP_BSON OR REFLECTCPP_CAPNPROTO OR REFLECTCPP_CBOR OR REFLECTCPP_CEREAL OR REFLECTCPP_FLEXBUFFERS OR REFLECTCPP_MSGPACK OR REFLECTCPP_TOML OR REFLECTCPP_UBJSON OR REFLECTCPP_XML OR REFLECTCPP_YAML OR (REFLECTCPP_JSON AND NOT REFLECTCPP_USE_BUNDLED_DEPENDENCIES))
if(REFLECTCPP_BOOST_SERIALIZATION OR REFLECTCPP_BSON OR REFLECTCPP_CAPNPROTO OR REFLECTCPP_CBOR OR REFLECTCPP_CEREAL OR REFLECTCPP_FLEXBUFFERS OR REFLECTCPP_MSGPACK OR REFLECTCPP_TOML OR REFLECTCPP_UBJSON OR REFLECTCPP_XML OR REFLECTCPP_YAML OR REFLECTCPP_YAS OR (REFLECTCPP_JSON AND NOT REFLECTCPP_USE_BUNDLED_DEPENDENCIES))
include(CMakeFindDependencyMacro)
endif()
Comment thread
liuzicheng1987 marked this conversation as resolved.

Expand All @@ -29,6 +31,10 @@ if ((REFLECTCPP_JSON OR REFLECTCPP_AVRO OR REFLECTCPP_CBOR OR REFLECTCPP_UBJSON)
find_dependency(yyjson)
endif()

if (REFLECTCPP_BOOST_SERIALIZATION)
find_dependency(Boost COMPONENTS serialization)
endif ()

if (REFLECTCPP_BSON)
find_dependency(bson-1.0)
endif ()
Expand Down Expand Up @@ -74,4 +80,8 @@ if (REFLECTCPP_YAML)
find_dependency(yaml-cpp)
endif ()

if (REFLECTCPP_YAS)
find_dependency(yas)
endif ()

check_required_components(reflectcpp)
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reflectcpp",
"version-string": "0.24.0",
"version-string": "0.25.0",
Comment thread
liuzicheng1987 marked this conversation as resolved.
"dependencies": [
{
"name": "vcpkg-cmake"
Expand Down
Loading