-
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.
(#14933) [BitSerializer] Add new version 0.50
* [BitSerializer] Add new version 0.50 * Update recipes/bitserializer/all/conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com> * Update recipes/bitserializer/all/conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com> * Update recipes/bitserializer/all/conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com> * [BitSerializer] Patch include path in the RapidYaml archive * [BitSerializer] Fix by comment - remove self.info.clear() * Update recipes/bitserializer/all/conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com> * Update recipes/bitserializer/all/conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com> * Update recipes/bitserializer/all/conanfile.py Co-authored-by: Uilian Ries <uilianries@gmail.com> * [BitSerializer] Fix package_id * [BitSerializer] Fix build debug * [BitSerializer] Fix applying patch when selected only 'with_rapidyaml' option Co-authored-by: Uilian Ries <uilianries@gmail.com>
- Loading branch information
1 parent
49fc684
commit c772a96
Showing
7 changed files
with
132 additions
and
16 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
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,16 +1,41 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(test_package LANGUAGES CXX) | ||
|
||
find_package(bitserializer REQUIRED CONFIG) | ||
set(BITSERIALIZER_COMPONENTS core) | ||
if(WITH_CPPRESTSDK) | ||
list(APPEND BITSERIALIZER_COMPONENTS cpprestjson-archive) | ||
endif() | ||
if(WITH_RAPIDJSON) | ||
list(APPEND BITSERIALIZER_COMPONENTS rapidjson-archive) | ||
endif() | ||
if(WITH_PUGIXML) | ||
list(APPEND BITSERIALIZER_COMPONENTS pugixml-archive) | ||
endif() | ||
if(WITH_RAPIDYAML) | ||
list(APPEND BITSERIALIZER_COMPONENTS rapidyaml-archive) | ||
endif() | ||
if(WITH_CSV) | ||
list(APPEND BITSERIALIZER_COMPONENTS csv-archive) | ||
endif() | ||
|
||
find_package(bitserializer CONFIG REQUIRED | ||
COMPONENTS ${BITSERIALIZER_COMPONENTS} | ||
) | ||
|
||
add_executable(${PROJECT_NAME} test_package.cpp) | ||
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE | ||
BitSerializer::core | ||
$<$<BOOL:${WITH_CPPRESTSDK}>:BitSerializer::cpprestjson-archive> | ||
$<$<BOOL:${WITH_RAPIDJSON}>:BitSerializer::rapidjson-archive> | ||
$<$<BOOL:${WITH_PUGIXML}>:BitSerializer::pugixml-archive>) | ||
$<$<BOOL:${WITH_PUGIXML}>:BitSerializer::pugixml-archive> | ||
$<$<BOOL:${WITH_RAPIDYAML}>:BitSerializer::rapidyaml-archive> | ||
$<$<BOOL:${WITH_CSV}>:BitSerializer::csv-archive> | ||
) | ||
target_compile_definitions(${PROJECT_NAME} PRIVATE | ||
$<$<BOOL:${WITH_CPPRESTSDK}>:"WITH_CPPRESTSDK"> | ||
$<$<BOOL:${WITH_RAPIDJSON}>:"WITH_RAPIDJSON"> | ||
$<$<BOOL:${WITH_PUGIXML}>:"WITH_PUGIXML">) | ||
$<$<BOOL:${WITH_PUGIXML}>:"WITH_PUGIXML"> | ||
$<$<BOOL:${WITH_RAPIDYAML}>:"WITH_RAPIDYAML"> | ||
$<$<BOOL:${WITH_CSV}>:"WITH_CSV"> | ||
) |
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
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,4 +1,6 @@ | ||
versions: | ||
"0.50": | ||
folder: "all" | ||
"0.44": | ||
folder: "all" | ||
"0.10": | ||
|