-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#23837) rapidyaml: add version 0.7.0
* rapidyaml: add version 0.6.0 * add new options * update 0.7.0 * disable `with_default_callback_uses_exceptions` when `with_default_callbacks` is false.
- Loading branch information
Showing
4 changed files
with
79 additions
and
1 deletion.
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
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
53 changes: 53 additions & 0 deletions
53
recipes/rapidyaml/all/patches/0.7.0-001-remove-internal-c4core.patch
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 762bb97..d1bc8a7 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -6,7 +6,7 @@ project(ryml | ||
LANGUAGES CXX) | ||
include(./compat.cmake) | ||
|
||
-c4_project(VERSION 0.7.0 STANDALONE | ||
+c4_project(VERSION 0.7.0 | ||
AUTHOR "Joao Paulo Magalhaes <dev@jpmag.me>") | ||
|
||
|
||
@@ -27,11 +27,11 @@ option(RYML_INSTALL "Enable install target" ON) | ||
|
||
#------------------------------------------------------- | ||
|
||
-c4_require_subproject(c4core INCORPORATE | ||
- SUBDIRECTORY ${RYML_EXT_DIR}/c4core | ||
- OVERRIDE C4CORE_INSTALL ${RYML_INSTALL} | ||
-) | ||
- | ||
+# c4_require_subproject(c4core INCORPORATE | ||
+# SUBDIRECTORY ${RYML_EXT_DIR}/c4core | ||
+# OVERRIDE C4CORE_INSTALL ${RYML_INSTALL} | ||
+# ) | ||
+find_package(c4core REQUIRED CONFIG) | ||
c4_add_library(ryml | ||
SOURCES | ||
ryml.hpp | ||
@@ -77,10 +77,10 @@ c4_add_library(ryml | ||
INC_DIRS | ||
$<BUILD_INTERFACE:${RYML_SRC_DIR}> | ||
$<INSTALL_INTERFACE:include> | ||
- LIBS c4core | ||
- INCORPORATE c4core | ||
+ # LIBS c4core | ||
+ LIBS c4core::c4core | ||
+ # INCORPORATE c4core | ||
) | ||
- | ||
if(RYML_WITH_TAB_TOKENS) | ||
target_compile_definitions(ryml PUBLIC RYML_WITH_TAB_TOKENS) | ||
endif() | ||
@@ -113,7 +113,7 @@ endif() | ||
|
||
if(RYML_INSTALL) | ||
c4_install_target(ryml) | ||
- c4_install_exports(DEPENDENCIES c4core) | ||
+# c4_install_exports(DEPENDENCIES c4core) | ||
c4_pack_project() | ||
endif() | ||
|
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,6 @@ | ||
versions: | ||
"0.7.0": | ||
folder: all | ||
"0.5.0": | ||
folder: all | ||
"0.4.1": | ||
|