-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#22574) reflect-cpp: add version 0.10.0
* reflecet-cpp: add version 0.7.0 * update 0.8.0 * Set CMAKE_CXX_STANDARD 20 * update 0.9.0 * try to fix MSVC compilation error * simplify patch, drop support toml and msgpack * add patch_source, downgrade flatbuffers * update 0.10.0 * remove patches --------- Co-authored-by: Francisco Ramirez de Anton <franchuti688@gmail.com>
- Loading branch information
1 parent
1292b47
commit 89f3e4d
Showing
4 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
sources: | ||
"0.10.0": | ||
url: "https://github.com/getml/reflect-cpp/archive/v0.10.0.tar.gz" | ||
sha256: "d2c8876d993ddc8c57c5804e767786bdb46a2bdf1a6cd81f4b14f57b1552dfd7" | ||
"0.6.0": | ||
url: "https://github.com/getml/reflect-cpp/archive/v0.6.0.tar.gz" | ||
sha256: "D8231B91989397A67E841B56A0673FDCDF969DBE956D54BB629F14100B030664" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.12) | ||
project(test_package LANGUAGES CXX) | ||
|
||
if (NOT CMAKE_CXX_STANDARD) | ||
set(CMAKE_CXX_STANDARD 20) | ||
endif() | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
find_package(reflect-cpp REQUIRED CONFIG) | ||
|
||
add_executable(${PROJECT_NAME} test_package.cpp) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE reflect-cpp::reflect-cpp) | ||
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
versions: | ||
"0.10.0": | ||
folder: all | ||
"0.6.0": | ||
folder: all |